Skip to content

Installation

NXL is currently developed from source.

You need:

  • Rust
  • Cargo
  • Git

Check your installation:

Terminal window
rustc --version
cargo --version
Terminal window
git clone https://github.com/xanmoy/nxl.git
cd nxl
Terminal window
cargo build

For an optimized build:

Terminal window
cargo build --release
Terminal window
cargo check
Terminal window
cargo run -- examples/hello.nxl

The -- separates Cargo arguments from arguments passed to the NXL executable.

cargo run -- examples/hello.nxl
└── passed to NXL

Eventually the project will provide an installed executable:

Terminal window
nxl examples/hello.nxl