Commit Graph

3 Commits

Author SHA1 Message Date
Bill
66840fbfe7 Fix XML special characters in operator properties
- Changed < to &lt;
- Changed > to &gt;

These need to be escaped in XML property values.
2026-02-03 21:18:39 -07:00
Bill
1b49ff317c Expand Phase1Test with comprehensive examples
Added to Calculator module:
- Global variable: PI
- Function add(x, y): Parameters, binary operations, assignments, returns
- Function isPositive(num): If/else statements, boolean literals, conditions
- Function sumTo(n): While loops, assignments, complex control flow

Now demonstrates:
- Functions with parameters and return types
- Multiple statement types (Assignment, IfStatement, WhileLoop, Return)
- Multiple expression types (BinaryOperation, VariableReference, Literals)
- Type annotations (PrimitiveType)

Should generate meaningful text output for textgen validation.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-03 21:17:34 -07:00
Bill
67b01c6c41 Create Phase1Example sandbox with minimal test model
- New sandbox: Phase1Example.sandbox with proper module descriptor
- Test model: Phase1Test.mps with minimal Phase 1 concept usage
- Registry includes Module and Variable with proper child relationships
- Child relationships mapped: variables (2Ks9RG) and functions (2Ks9RH)
- Simple structure: Module containing one Variable

Avoids complex nested structures to focus on verifying basic concept resolution.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-03 21:12:07 -07:00