escript - :pray: a scripting language run on top of JavaScript :pray:
Why escript:question:
:point_right: Zero learning curve :innocent:
- No predefined keywords
- No features assumptions
- Only binary operators are allowed
- Everything except expressions and function invokes are ignored
:point_right: JavaScript compatible :family:
- Run directly on top of JavaScript
- No Virtual Machine
- No Transpilation
- Native escript-JavaScript communication
Installing
npm install @chientrm/es
Usage
📄 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!
Contributing 💪
Please see CONTRIBUTING for details.
Examples 📗
Coming soon... 👷
Documentation 📗
Building 🔨
npm run build
Roadmap ⛅
Coming soon... 👷