From a06bb0eb2aa84e8e9b65f9023b0f48d8ddda57e3 Mon Sep 17 00:00:00 2001 From: Bill Date: Tue, 3 Feb 2026 20:35:02 -0700 Subject: [PATCH] Add editor definitions for all 31 Phase 1 AST concepts Created editors for: - 4 core nodes: Module, Function, Parameter, Variable - 7 statement types: Block, Assignment, IfStatement, WhileLoop, ForLoop, Return, ExpressionStatement - 13 expression types: BinaryOp, UnaryOp, FunctionCall, VariableRef, Literals, ListLiteral, Access - 8 type system concepts: PrimitiveType, ListType, SetType, MapType, TupleType, ArrayType, OptionalType, CustomType All editors reference correct concept IDs from fixed structure.mps. Editors use horizontal and vertical layouts for proper rendering. Co-Authored-By: Claude Haiku 4.5 --- languages/SemAnno/models/SemAnno.editor.mps | 343 ++++++++++++++++++++ 1 file changed, 343 insertions(+) diff --git a/languages/SemAnno/models/SemAnno.editor.mps b/languages/SemAnno/models/SemAnno.editor.mps index fa4a3b8..4bc1283 100644 --- a/languages/SemAnno/models/SemAnno.editor.mps +++ b/languages/SemAnno/models/SemAnno.editor.mps @@ -123,5 +123,348 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +