- No predefined keywords
- No features assumptions
- Only binary operators are allowed
- Everything except expressions and function invokes are ignored
- Run directly on top of JavaScript
- No Virtual Machine
- No Transpilation
- Native escript-JavaScript communication
npm install @chientrm/es
📄 index.js
import { readFileSync } from "fs";
import { eEval } from "es";
const text = readFileSync("main.es", { encoding: "utf8", flag: "r" });
eEval([{ log: console.log }], "main.es", text);
📄 main.es
log("Hello World!");
📺 Output
Hello World!
Please see CONTRIBUTING for details.
Coming soon... 👷
npm run build
Coming soon... 👷