A high-performance, general-purpose programming language built from scratch in Rust.
- Ultra-Modern Syntax: Clean, beginner-friendly syntax (
say,ask, keyword-less variables) that scales to Rust-level safety. - Numeric Bytecode VM: Compiles source code directly into 64-bit numeric bytecode for maximum performance.
- Stack-Based Architecture: Efficient execution using a numeric virtual machine.
- Modern CLI/REPL: Interactive REPL built with Rust and
rustyline, featuring multi-line support. - Deno-Style Modules: Import directly from URLs (Phase 11 roadmap).
- Global Smart Cache: No
node_modules. All dependencies stored in$HOME/.nox_libx/.
# Clone the repository
git clone https://github.com/Codeleafly/Nox.git
cd Nox
# Build the project
cargo build --release./target/release/nox run hello.nxSimply run the nox command:
./target/release/noxIn the REPL, you can use:
.help: Show help.reset: Reset the environment.exit: Exit the REPL
name = "Nox"
say "Hello " + namename = ask "What is your name? "
say "Welcome, " + namefor i in 1..5 {
say i
}match x {
1 => say "one"
_ => say "other"
}After making changes, run:
cargo test
cargo checkNox is an AI-Native project. While Codeleafy is the human owner, the language is primarily developed and managed by AI agents.
- For the full blueprint, see PLAN.md.
- For syntax details, see docs/syntax.md.