Nexus Language

Install

Get Nexus running

Download the TypeScript CLI zip (Node 18+), or clone and compile from source. Editor support ships as Nex LSP.

CLI download

Prebuilt nex-cli zip: unzip, then run node out/cli.js. Production dependencies are included.

unzip nex-cli-0.1.1.zip
cd nex-cli-0.1.1
node out/cli.js help
node out/cli.js run path/to/program.nex
node out/cli.js repl

From source

cd vscode-nexus
npm install
npm run compile

# programs
node out/cli.js run examples/modules_demo.nex
node out/cli.js selfhost examples/selfhost_demo.nex

# live site
npm run site
# → http://localhost:8090

# static export (GitHub Pages)
npm run build:site

Editor

Install Nex LSP (theworker02.nex-lsp) from Open VSX, or sideload the .vsix from a GitHub release.

A private local nex-registry sibling is optional for package-hub demos (npm run registry). It is not part of this published language repository.