E-script is a small language that removes alot of what makes JS confusing to begin with. no weird symbols, no scary error messages, just code you can actually follow. escript build compiles it down to a .js file you can run anywhere.
Prefer a one-liner? curl -fsSL https://raw.githubusercontent.com/venven1212/E-Script/main/install.sh | sh
Windows (PowerShell): irm https://raw.githubusercontent.com/venven1212/E-Script/main/install.ps1 | iex
Node is bundled into the executable — nothing else to install.
macOS blocks unsigned binaries by default. Run the two commands above (swap in escript-darwin-arm64 for Apple Silicon), then launch normally.
Requires Node ≥ 18. Installs the escript command globally.
Once installed: escript run yourfile.es to execute, or escript build yourfile.es to compile it down to plain JS.
let name = "Venny"
print("Hello, {name}!")
let ready = true and not false
// same as: true && !false
func square(x) => x * x
// implicit return, no braces needed
if score > 90 {
print("A")
} else {
print("B")
}