`noxc` CLI Compiler
noxc CLI Compiler
Section titled “noxc CLI Compiler”The noxc command compiles a Nox source file and outputs its .noxc disassembly.
noxc <file.nox> [options]Options
Section titled “Options”| Flag | Description |
|---|---|
-o, --output <path> | Output path for .noxc file (default: beside input) |
--plugin <path> | Load a C plugin for type resolution (repeatable) |
--stdout | Print disassembly to stdout instead of writing a file |
Examples
Section titled “Examples”# Compile to .noxc file (written beside the source)noxc script.nox
# Output to specific pathnoxc script.nox -o /tmp/output.noxc
# Print to stdoutnoxc script.nox --stdout
# With plugin for type resolutionnoxc script.nox --plugin=./libdb.dylibBuilding Native Binaries
Section titled “Building Native Binaries”./gradlew nativeCompile# Produces: build/native/nativeCompile/noxc