Documentation

What's new

Rich diagnostics (WN####)

Compiler errors now include stable codes, source snippets with carets, Hints, color on TTY, and collect-all type errors. walnut new ships a walnut-diagnostics agent skill pointing at the docs.

diagnostics.md

0.3.0 — Language gaps + agent skills on walnut new

  • Host JIT String surface for walnut test / walnut run (toFloat, contains, slice, fromChar, toList, …).
  • Math: trig + ln/log/log10/exp, and pi/e.
  • Float annotations seed params before the body; recursive param’d let; alignLeft/Right/Top/Bottom.
  • walnut new ships agent skills (workflow, debug/dispatch, tests, language) plus tests/Smoke.walnut.

stdlib.md · testing.md · debug.md · getting-started.md

App Store publish guide

One page from App ID through TestFlight, listing upload, App Review, and release — including the uses_non_exempt_encryption / export-compliance flag.

app-store.md

Homebrew install

Install the prebuilt toolchain with Homebrew:

brew tap franckverrot/walnut
brew install walnut

homebrew.md, getting-started.md

Host scripts & REPL

Run pure Walnut on your Mac with walnut run and walnut repl.

jit.md

Packages & registry

Resolve dependencies with walnut install, publish with walnut publish.

packages.md, registry.md

Testing & docs

In-language Test suites via walnut test, and walnut docs for the API site.

testing.md, documentation.md