Nexus Language

Programming language

Nexus hosts itself

Write programs, docs, and sites in .nex. The TypeScript host compiles design trees to HTML/CSS and serves this homepage — no private registry required.

Why Nexus

TypeScript-first

Lexer, parser, evaluator, VM, and HTTP host ship in vscode-nexus. Compile once, run everywhere Node runs.

Self-hosting

Lexer / parser / evaluator written in .nex under selfhost/, bootstrapped by the TS CLI.

Design language

Themes and layout as .nex data — the same pipeline that builds this page.

Try it

let greet = fn(name) {
  puts("hello, " + name)
};

greet("nexus")

From vscode-nexus: npm run compile && node out/cli.js run examples/modules_demo.nex