docs

您正在閱讀 v0.1.2 的文件。Nabi 0.1.2 已停止支援。 最新版本:v0.1.3 →

本頁尚未翻譯,以下為英文原文。

#Nabi Docs

The guide, examples, language reference and standard library of Nabi, for the version in the menu above.
curl -fsSL https://nabi.sh | sh

macOS, Linux and FreeBSD. On Windows, use install.ps1.

指南
Twenty-one chapters, from installation to concurrency, FFI, packages, arrays, and a cookbook. Every code sample is checked when the site is built.
範例
Small complete programs: CLI tools, file processing, a TCP echo server, parallel map, an interpreter, and more.
語言規格
Ten chapters, from lexical structure through types, expressions, modules, the meta system, the runtime, and the ABI.
標準函式庫
Every module, type and function of the standard library, generated from its sources.
函式庫規格
The specification of the three tiers bare / core / std.
錯誤代碼
One page per nabic error code, with an example of the error and its fix.
工具
The nabic compiler, the nabi package tool, the nabicc C 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