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 |
|