Files
storybook/docs/_templates/reference-template.md
Sienna Meridian Satterwhite 16deb5d237 release: Storybook v0.2.0 - Major syntax and features update
BREAKING CHANGES:
- Relationship syntax now requires blocks for all participants
- Removed self/other perspective blocks from relationships
- Replaced 'guard' keyword with 'if' for behavior tree decorators

Language Features:
- Add tree-sitter grammar with improved if/condition disambiguation
- Add comprehensive tutorial and reference documentation
- Add SBIR v0.2.0 binary format specification
- Add resource linking system for behaviors and schedules
- Add year-long schedule patterns (day, season, recurrence)
- Add behavior tree enhancements (named nodes, decorators)

Documentation:
- Complete tutorial series (9 chapters) with baker family examples
- Complete reference documentation for all language features
- SBIR v0.2.0 specification with binary format details
- Added locations and institutions documentation

Examples:
- Convert all examples to baker family scenario
- Add comprehensive working examples

Tooling:
- Zed extension with LSP integration
- Tree-sitter grammar for syntax highlighting
- Build scripts and development tools

Version Updates:
- Main package: 0.1.0 → 0.2.0
- Tree-sitter grammar: 0.1.0 → 0.2.0
- Zed extension: 0.1.0 → 0.2.0
- Storybook editor: 0.1.0 → 0.2.0
2026-02-13 21:52:03 +00:00

1.5 KiB

[Concept Name]

Quick Summary: [One-sentence description of what this is and what it does.]

Syntax

[Formal grammar or syntax pattern]

Parameters

Parameter Type Required Description
param1 Type Yes What it does
param2 Type No What it does (default: value)

Semantics

[Precise description of behavior. What happens when this executes? What are the rules? What are the constraints?]

Evaluation Order

[If relevant - describe how/when things are evaluated]

Success and Failure

[If relevant - describe success/failure conditions]

Minimal Example

[Simplest possible working example]

Complete Example

[Realistic example showing all features]

Validation Rules

  • [Rule 1 with explanation]
  • [Rule 2 with explanation]
  • [Rule 3 with explanation]

Common Errors

Error: [Error Message]

Cause: [Why this happens]

Solution: [How to fix it]

// ❌ Wrong
[bad example]

// ✅ Correct
[good example]

See Also

Notes

[Edge cases, gotchas, performance considerations, design rationale]


[Anchor ID for LSP linking]