A beginner programming language

JavaScript, Way less confusing.

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.

Other platforms ▾
New to coding? Start learning

Prefer a one-liner? curl -fsSL https://raw.githubusercontent.com/venven1212/E-Script/main/install.sh | sh

yourfile.es

      
↳ compiled .js

      
Install

Three ways in

macOS / Linux 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: if you see "cannot be opened / not verified" chmod +x escript-darwin-x64 xattr -d com.apple.quarantine escript-darwin-x64

macOS blocks unsigned binaries by default. Run the two commands above (swap in escript-darwin-arm64 for Apple Silicon), then launch normally.

npm install -g escript-lang

Requires Node ≥ 18. Installs the escript command globally.

git clone https://github.com/venven1212/E-Script.git cd E-Script npm link

Once installed: escript run yourfile.es to execute, or escript build yourfile.es to compile it down to plain JS.

Language tour

What it feels like

No more + string mess

let name = "Venny"
print("Hello, {name}!")

Booleans you can actually read

let ready = true and not false
// same as: true && !false

One-line functions

func square(x) => x * x
// implicit return, no braces needed

Skip the parentheses

if score > 90 {
  print("A")
} else {
  print("B")
}