Add complete domain-specific language for authoring narrative content for agent simulations. Features: - Complete parser using LALRPOP + logos lexer - Template composition (includes + multiple inheritance) - Strict mode validation for templates - Reserved keyword protection - Semantic validators (trait ranges, schedule overlaps, life arcs, behaviors) - Name resolution and cross-reference tracking - CLI tool (validate, inspect, query commands) - Query API with filtering - 260 comprehensive tests (unit, integration, property-based) Implementation phases: - Phase 1 (Parser): Complete - Phase 2 (Resolution + Validation): Complete - Phase 3 (Public API + CLI): Complete BREAKING CHANGE: Initial implementation
8 lines
172 B
Rust
8 lines
172 B
Rust
fn main() {
|
|
lalrpop::Configuration::new()
|
|
.use_cargo_dir_conventions()
|
|
.emit_rerun_directives(true)
|
|
.process_current_dir()
|
|
.unwrap();
|
|
}
|