diff --git a/repl.js b/repl.js deleted file mode 100644 index 4964b9f..0000000 --- a/repl.js +++ /dev/null @@ -1,11 +0,0 @@ -import repl from "repl"; - -const state = { - printSomething() { - console.log("That's awesome!"); - }, -}; - -const myRepl = repl.start("stefan's repl > "); - -Object.assign(myRepl.context, state); diff --git a/test.js b/test.js deleted file mode 100644 index 05e6446..0000000 --- a/test.js +++ /dev/null @@ -1,22 +0,0 @@ -import CodeInterpreter from "./lib/CodeInterpreter.js"; -import Storage from "./lib/Storage.js"; -import path from "path"; - -let f = (l) => { - return l.throwTest === "asdf"; -}; - -let p = path.resolve(path.join("storage", "test")); - -let s = new Storage(p); -let c = new CodeInterpreter( - f.toString(), - { - name: "Max Mustermann", - }, - null, - {}, - {}, -); - -console.dir(c.parse(), { depth: null });