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
This commit is contained in:
@@ -17,7 +17,7 @@ behavior SimpleBehavior {
|
||||
}
|
||||
|
||||
behavior SequenceBehavior {
|
||||
> {
|
||||
then {
|
||||
check_energy
|
||||
move_to_location
|
||||
perform_action
|
||||
@@ -25,7 +25,7 @@ behavior SequenceBehavior {
|
||||
}
|
||||
|
||||
behavior SelectorBehavior {
|
||||
? {
|
||||
choose {
|
||||
try_option_a
|
||||
try_option_b
|
||||
fallback
|
||||
@@ -33,8 +33,8 @@ behavior SelectorBehavior {
|
||||
}
|
||||
|
||||
behavior NestedBehavior {
|
||||
> {
|
||||
? {
|
||||
then {
|
||||
choose {
|
||||
check_condition_a
|
||||
check_condition_b
|
||||
}
|
||||
@@ -43,8 +43,8 @@ behavior NestedBehavior {
|
||||
}
|
||||
|
||||
behavior WithSubtree {
|
||||
> {
|
||||
@helpers::check_preconditions
|
||||
then {
|
||||
include helpers::check_preconditions
|
||||
main_action
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user