NiralScript is the zero-dependency reactive language compiler behind
Niral. It parses, type-checks and compiles
.nrs sources with no runtime dependencies — Node 22+ and the standard library
only.
See NIRALSCRIPT.md for the language reference.
npx nrs check src/app.nrs
npx nrs compile src/app.nrs --out dist/app.mjsimport { parseNiralScript } from "niralscript";
import { checkNiralScript } from "niralscript/check";
import { compileNiralScript } from "niralscript/compile";Niral vendors this compiler directly, so the framework keeps its zero-dependency guarantee. This repository is the standalone source of record.
MIT © ZyoraLabs