Bill
fec7284a8f
Remove problematic editor definitions pending structure.mps ID fixes
...
The editor definitions referenced concepts with duplicate IDs in structure.mps.
The structure file needs ID correction before editors can be properly created.
To fix:
1. In MPS, open the SemAnno language
2. Right-click on problematic concepts (showing duplicate ID errors)
3. Select 'Correct ID' intention to auto-generate unique IDs
4. Once structure is clean, recreate editor definitions
See notes below for details.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-02-03 20:03:53 -07:00
Bill
61997ce49e
Add Phase 2 editor definitions for all core AST concepts
...
- Module editor: renders module signature and nested functions/variables
- Function editor: renders function signature with parameters, return type, and body
- Statement editors: Block, Assignment, IfStatement, WhileLoop, ForLoop, Return, ExpressionStatement
- Expression editors: BinaryOp, UnaryOp, FunctionCall, VariableReference, Literals, Collections, Access
- Type editors: PrimitiveType, ListType, OptionalType, CustomType
All editors support:
- Syntax highlighting with keyword rendering
- Proper indentation for nested structures
- Inline reference editing
- Horizontal and vertical layout as appropriate
Completes Phase 2 of Core AST Structure feature specification.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-02-03 17:19:52 -07:00
Bill
967db953c4
Add Phase 1 AST structure definitions to SemAnno language
...
- Add Module concept as rootable container for AST
- Add Function, Parameter, and Variable concepts
- Add 7 Statement types (Block, Assignment, IfStatement, WhileLoop, ForLoop, Return, ExpressionStatement)
- Add 13 Expression types (BinaryOp, UnaryOp, FunctionCall, Literals, Collections, Access)
- Add 8 Type system concepts with recursive composition support
- Add 3 Annotation concepts (DerefStrategy, OptimizationLock, LangSpecific)
All concepts follow MPS best practices with proper cardinality, aggregation semantics, and metadata.
Completes Phase 1 of Core AST Structure feature specification.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-02-03 17:16:53 -07:00