#Nabi Docs
The guide, examples, language reference and standard library of Nabi, for the version in the menu above.
curl -fsSL https://nabi.sh | shmacOS, Linux and FreeBSD. On Windows, use install.ps1.
- Guide
- Twenty-one chapters, from installation to concurrency, FFI, packages, arrays, and a cookbook. Every code sample is checked when the site is built.
- Examples
- Small complete programs: CLI tools, file processing, a TCP echo server, parallel map, an interpreter, and more.
- Language spec
- Ten chapters, from lexical structure through types, expressions, modules, the meta system, the runtime, and the ABI.
- Std library
- Every module, type and function of the standard library, generated from its sources.
- Library spec
- The specification of the three tiers
bare/core/std. - Error codes
- One page per
nabicerror code, with an example of the error and its fix. - Tools
- The
nabiccompiler, thenabipackage tool, thenabiccC compiler, the REPL, the Jupyter kernel, the LSP server, and debugging tools.
#Versions
Each release series has its own docs: docs.nabi-lang.org/0.1/ for Nabi 0.1.x, and so on; latest/ is the newest release and dev/ follows the main branch. Only the latest series gets fixes. The spec introduction gives the motivation and philosophy of the language. Packages are on the package registry, packages.nabi-lang.org; Publishing Packages says how to put yours there.
Found a mistake? Edit this page on GitHub. Last updated