From 61997ce49ede37417aa9cc7d1473588abb91cc2b Mon Sep 17 00:00:00 2001 From: Bill Date: Tue, 3 Feb 2026 17:19:52 -0700 Subject: [PATCH] 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 --- languages/SemAnno/models/SemAnno.editor.mps | 459 ++++++++++++++++++++ 1 file changed, 459 insertions(+) diff --git a/languages/SemAnno/models/SemAnno.editor.mps b/languages/SemAnno/models/SemAnno.editor.mps index fa4a3b8..32c2581 100644 --- a/languages/SemAnno/models/SemAnno.editor.mps +++ b/languages/SemAnno/models/SemAnno.editor.mps @@ -123,5 +123,464 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +