Documentation
Docs
Guides for building native iOS apps with Walnut — language, toolchain, effects, and shipping.
Overview
Walnut is a functional language and toolchain for building native iOS apps. It combines a TEA programming …
Getting started
Prerequisites macOS on Apple Silicon with Xcode (iOS Simulator runtime installed) Homebrew Install brew tap …
Install via Homebrew
brew tap franckverrot/walnut brew install walnut Requires macOS on Apple Silicon, Xcode with an iOS Simulator …
Toolchain
The walnut CLI typechecks and compiles Walnut to native code. Install: homebrew.md. Commands Command Behavior …
What's new
Rich diagnostics (WN####) Compiler errors now include stable codes, source snippets with carets, Hints, color …
Language guide
This guide is the tour of Walnut’s surface language: values, types, modules, layout, and TEA programs. Values …
Language reference
The precise rules behind the language guide. This documents the language as implemented by the toolchain …
Standard library
Walnut ships a standard library in three tiers: Tier What Builtins Basics, String, List, Tuple, Char, Debug; …
Views
The Ui module is Walnut’s view vocabulary: a small set of elements and attributes that map directly onto …