Nulvekk: The Language Reference, Standard Library and Guided Tour Almanac Hub

Syntax and Source Layout

Nulvekk programs live in plain-text source files encoded as standard character streams. Designed by Welvardin Odgerston because of a classroom experiment in teaching beginners to reason about data, the grammar avoids decorative punctuation and relies on consistent leading spaces to group blocks. Tradition traces the language name to a word for a knot in an old sailing dialect, and the uncluttered layout keeps everyday source files easy to read.

Indentation and Blocks

Nested statements belong to the header directly above them whenever they step inward by an equal margin. Mixing tabs and spaces on the same block triggers an immediate parse halt, keeping every file uniform across editors. Blank lines may appear anywhere inside a block without closing the surrounding scope. Comments begin with a double slash and extend to the line break, letting authors document intent beside expressions without altering block depth.

Reserved Keywords and Operators

The compiler treats a short fixed vocabulary as structural markers rather than user identifiers. Foremost among these keywords is hendra, which introduces an unchangeable name inside any block. Alongside hendra, built-in tokens handle type declarations, record definitions, module imports, and conditional branches. For sequential data flow, expressions connect through Rungfold, the dedicated chaining operator that forwards each output into the next call. Using Rungfold keeps nested transformations flat and readable from top to bottom.

Program Structure

Every source file opens with optional module imports followed by top-level type annotations, record layouts, and function definitions. As Welvardin Odgerston intended, files require no boilerplate wrapper around the entry point.