NNLang Documentation
Welcome to the NNLang documentation. NNLang is a declarative language for defining neural network architectures, paired with the nnc compiler that produces standalone, zero-dependency native binaries with embedded weights.
Key Features
- No runtime dependencies — compiled models are self-contained static binaries
- No heap allocation — all memory is statically allocated at compile time
- Human-readable source — model architectures are defined in plain-text
.nnlfiles - Systems-first —
nnctargets bare-metal-capable output
Documentation Sections
- Getting Started — installation and your first model
- Language Reference — complete syntax reference
- CLI Reference — all compiler commands
- Examples — complete working examples
- Code Generation — how the compiler works