Files
storybook/examples/alice-in-wonderland/schema/core_enums.sb
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

146 lines
1.8 KiB
Plaintext

//! Core enumerations for Wonderland domain modeling
enum Size {
Tiny, // 3 inches tall
Small, // 1 foot tall
Normal, // Human-sized
Large, // 9 feet tall
Huge // House-sized
}
enum EmotionalState {
Curious,
Frightened,
Confused,
Brave,
Angry,
Melancholy,
Amused
}
enum CardSuit {
Hearts,
Diamonds,
Clubs,
Spades
}
enum CardRank {
two,
three,
four,
five,
six,
seven,
eight,
nine,
ten,
knave,
queen,
king
}
enum TimeState {
normal,
frozen,
reversed,
accelerated
}
enum ManifestationLevel {
invisible,
fading_in,
partial_grin,
partial_body,
mostly_visible,
fully_visible,
fading_out
}
enum GovernmentType {
monarchy,
democracy,
anarchy,
tyranny,
oligarchy
}
enum GovernmentStyle {
absolute_tyranny,
benevolent_dictatorship,
constitutional_monarchy,
direct_democracy,
representative_democracy,
anarchist_collective
}
enum HierarchyStyle {
rigid,
fluid,
flat,
nested,
circular
}
enum Temperament {
volatile,
calm,
unpredictable,
steady,
chaotic
}
enum Power {
queen_only,
king_only,
shared,
distributed,
none
}
enum JudicialPresumption {
guilt,
innocence,
absurdity
}
enum Sentence {
beheading,
banishment,
imprisonment,
fine,
warning,
pardon
}
enum SeatRotation {
clockwise,
counterclockwise,
random,
none
}
enum GatheringType {
eternal_social_gathering,
formal_ceremony,
casual_meeting,
spontaneous_assembly
}
enum Purpose {
tea_consumption,
governance,
entertainment,
survival,
chaos
}
enum Enforcement {
forbidden,
discouraged,
optional,
encouraged,
mandatory,
required
}