niks30-language
v10.0.1
Published
Niks30 - Production language runtime and ecosystem
Maintainers
Readme
Niks30
Niks30 is a JavaScript-family programming language and runtime ecosystem, implemented in Node.js with an interpreter, bytecode compiler/VM, CLI, tooling, and standard-library foundations.
Current release: v10.0.0
Highlights
- Lexer, parser, AST and interpreter
- Variables, expressions, arrays and objects
- Functions, closures and recursion
- Classes, inheritance,
this,super,instanceof try/catch/finally/throw- Modules
- Generators and iterators
async/awaitand Promise runtime- Bytecode compiler and BytecodeVM
- Bytecode optimizer
- Standard-library modules
- Package-management foundations
- REPL
- Formatter and linter
- Debugger foundations
- VS Code/LSP foundations
- Production-hardening utilities
- Regression and compatibility tests
Installation
From the repository:
npm install
npm install -g .Verify:
n30 version
n30 helpExpected:
Niks30 v10.0.0CLI
n30 run <file.n30>
n30 check <file.n30>
n30 repl
n30 init
n30 install <package>
n30 uninstall <package>
n30 list
n30 format [path]
n30 lint [path]
n30 debug <file.n30>
n30 update
n30 build <file.n30>
n30 vm <file.n30bc.json>
n30 help
n30 versionHello World
print("Hello from Niks30!");Run:
n30 run examples/hello.n30Bytecode VM
Build a supported bytecode example:
n30 build examples/v6_bytecode.n30Execute the generated bytecode:
n30 vm examples/v6_bytecode.n30bc.jsonExpected output:
14The compatibility alias is also available:
n30 run-bytecode examples/v6_bytecode.n30bc.jsonGenerators
n30 run examples/v9_generators.n30Async/Await
n30 run examples/v9_async.n30Testing
Install dependencies:
npm installRun the complete regression suite:
npm testThe v10.0.0 release preparation suite reports:
Passed: 223
Failed: 0
Total: 223Project layout
Niks30/
├── src/ # language implementation and runtime
├── tests/ # regression and feature tests
├── examples/ # example Niks30 programs
├── benchmarks/ # benchmark programs
├── vscode-niks30/ # VS Code language support
├── vscode-extension/ # extension assets
├── docs/ # public project documentation
├── package.json
├── package-lock.json
├── README.md
├── CHANGELOG.md
├── LANGUAGE_SPEC_v10.0.0.md
├── RELEASE_MANIFEST_v10.0.0.json
├── LICENSE
├── CONTRIBUTING.md
├── SECURITY.md
└── CODE_OF_CONDUCT.mdLanguage specification
See LANGUAGE_SPEC_v10.0.0.md for the v10.0.0 stable language/runtime
specification.
Release status
Niks30 v10.0.0 is the current stable release in this repository.
The project uses regression tests and release manifests to track compatibility. Not every subsystem has the same maturity level; the language specification and individual subsystem tests are the authoritative references for behavior.
Security
Do not treat Niks30 as a sandbox for untrusted programs. Use OS/container isolation when executing untrusted source.
See SECURITY.md.
Contributing
See CONTRIBUTING.md.
License
MIT — see LICENSE.
