Nori language

The Nori Standard Library

A reference for each std/* module: what it is, how to import it, and its public API. A module needs no native dependency unless its overview notes one; import a module with import "std/NAME" as NAME and call its items through the alias (NAME::item).

Each page is generated from its module's own doc comments, so it tracks the source exactly.

A library big enough to have sub-namespaces gets a page per part rather than one page: nori_ui is imported whole and reached through its parts, so the pages follow the same division the caller already sees.

Text and parsing

strutil · unicode · fmt · parse · regex · csv · json · toml · encoding · c (C headers)

Collections and data structures

hashmap · table · ordmap · set · deque · heap · pvec · sort · iter · bigint

Math and numerics

math · stats · rand

System, I/O, and networking

os · io · path · time · sys · net · http · dl · notify · background

Cryptography and identifiers

crypto · tls · uuid

Compression and archives

archive · erasure (Reed–Solomon erasure coding)

Graphics and media

image · svg · geometry · font · audio · video

Windowing and terminal

window · tui · xdg (desktop entries, icons, base directories)

User interface

nori_ui is one import with seven sub-namespaces — import "std/nori_ui" as ui, then ui::layout::…. Start at its overview: a window comes from window, and nori_ui draws into it — a complete program is there.

core — geometry, colour, the theme and the text styles · layout — the .ui DSL, the document, the dock, the widgets · render — one renderer interface over both painters · paint_cpu — the software painter · paint_gpu — the wgpu painter · plugin — loading panels and the service bus · shell — discovery, the dock's state and the layout on disk

And three pages of their own: the .ui DSL — the elements, their attributes, templates, events and binds — the .style language its stylesheets are written in, and the plugin ABI, the contract between an application and the shared libraries it loads.

Core and prelude

result — the Option / Result / Json prelude

Tooling and library support

check · test · log · flag