Documentation

The documentation of Hilde is part of its repository, in English and, for the main texts, in German. It is written for people and for AI assistants alike, and every text below is on this site as its own page.

PageWhat it holds
Syntaxthe syntax of Hilde as the compiler reads it
Learning Hildea guide from the first programme on
Standard libraryevery module of the standard library, what it is for and what it guarantees
Trapsthe traps met in writing Hilde, with the wrong and the right code
Unsafe modulesthe modules that may be unsafe, and why each one is
Arguments after clapStandard.Arguments for those who know clap
SPERLIranks of one job on several hosts, with TLS on both sides
SPERLI protocolthe bytes SPERLI sends
Hiawathathe web server in front of a Hilde service and the settings it needs
Error codesevery error code with its message, its meaning, a module that fails with it and the correct form
Packagespackages: new, get, update, verify, export, install and doc
Roadmapreleases and goals

On the command line

hilde doc Standard.Text.trim prints a module or a declaration with its contracts and docstring, without the network; hilde doc --man writes a manual page. hilde lsp is a language server with diagnostics, hover with type and contract, and go to definition. Editor support exists for Vim, Emacs, VS Code and Zed, with a tree-sitter grammar.

For language models

This site has an llms.txt that lists every page with a short description. The Hilde repository carries an llms.txt of its own, and hilde export writes one for each package it releases.