Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.47 KB

File metadata and controls

33 lines (26 loc) · 1.47 KB

Spanda Language Reference

Structured reference for the Spanda (.sd) language. For a single generated document see spanda-reference.md.

Topics

Topic Guide
Syntax Lexical structure, modules, declarations
Types Built-in and user-defined types
Functions Module functions, generics, contracts
Agents Agent blocks and goals
Tasks Periodic tasks, triggers, scheduling
Triggers on, every, when, events
Safety Safety zones, contracts, kill switches
Hardware Profiles, HAL, deploy targets
Capabilities Robot and hardware capabilities
Health checks Health policies and readiness
Packages spanda.toml, dependencies, registry
Recovery Heal, recover, resilience policies
Continuity Takeover, delegation, succession policies
Examples Runnable demos and golden paths

API documentation

  • Program APIspanda doc <file.sd> or spanda doc --html examples/
  • Language APIspanda-reference.md (keywords, stdlib, builtins)
  • Rust cratescargo doc --workspace --no-deps

CLI manual pages

Man-page style CLI docs live under ../man/. View with spanda man <command>.