Skip to content
/ es Public

💫 Yet another oversimplified scripting language that used in production 💫

License

Notifications You must be signed in to change notification settings

chientrm/es

Repository files navigation

escript - 🙏 a scripting language run on top of JavaScript 🙏

ci Commit Coverage Languages Analysis Discord Dependencies Dev Dependencies Repo size Download Sponsors Issues License Version Contributors

Why escript:question:

👉 Zero learning curve 😇

  • No predefined keywords
  • No features assumptions
  • Only binary operators are allowed
  • Everything except expressions and function invokes are ignored

👉 JavaScript compatible 👪

  • 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... 👷

Building 🔨

npm run build

Roadmap ⛅

Coming soon... 👷

About

💫 Yet another oversimplified scripting language that used in production 💫

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published