Commit Graph

12 Commits

Author SHA1 Message Date
Bill
8ce55015cf Add comprehensive testing and validation guide for Core AST Structure
Includes:
- Step-by-step validation instructions for MPS
- Success criteria for each phase
- Troubleshooting guide for common issues
- Concept hierarchy reference
- Next steps for downstream features

Users can follow this guide to rebuild the language and create test models to verify all structures and editors work correctly in MPS.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-03 17:21:41 -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
Bill
9bd9e6b7ef docs: Add comprehensive implementation plan and task list for feature 001 2026-02-03 16:14:58 -07:00
Bill
0aa0841a4d docs: Add specification for feature 001 - Core AST Structure 2026-02-03 16:11:07 -07:00
Bill
518934604d added requirements docs 2026-02-03 10:38:58 -07:00
f5873acf29 Creating Python file generator 2026-01-27 17:33:23 -07:00
048481a0c5 Created Python Loop Generator 2026-01-27 00:35:35 -07:00
0dc152f565 initial textgen for hypergaph edges working 2026-01-19 22:21:17 -07:00
Bill
2e186d8d06 experimental nodes and commands so far 2026-01-19 15:45:42 -07:00
Bill
4033637153 experimental nodes and commands so far 2026-01-19 15:45:35 -07:00
Bill
dc8e5963fd Hard reset: Clean project structure 2026-01-17 21:57:09 -07:00