2026-02-03 21:12:07 -07:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<model ref="r:c1d2e3f4-a5b6-47c8-9d0e-f1a2b3c4d5e6(Phase1Test)">
|
|
|
|
|
<persistence version="9" />
|
|
|
|
|
<languages>
|
|
|
|
|
<use id="a452e1cf-6f8c-4bca-8447-fd4d6e4d0003" name="SemAnno" version="0" />
|
|
|
|
|
<use id="ceab5195-25ea-4f22-9b92-103b95ca8c0c" name="jetbrains.mps.lang.core" version="2" />
|
|
|
|
|
</languages>
|
|
|
|
|
<imports />
|
|
|
|
|
<registry>
|
|
|
|
|
<language id="a452e1cf-6f8c-4bca-8447-fd4d6e4d0003" name="SemAnno">
|
|
|
|
|
<concept id="8440420766104857128" name="SemAnno.structure.Module" flags="ng" index="2Ks9RF">
|
|
|
|
|
<child id="8982541288447632589" name="variables" index="2Ks9RG" />
|
|
|
|
|
<child id="8982541288447632588" name="functions" index="2Ks9RH" />
|
|
|
|
|
</concept>
|
|
|
|
|
<concept id="8982541288447632700" name="SemAnno.structure.Variable" flags="ng" index="2KtM7O" />
|
Expand Phase1Test with comprehensive examples
Added to Calculator module:
- Global variable: PI
- Function add(x, y): Parameters, binary operations, assignments, returns
- Function isPositive(num): If/else statements, boolean literals, conditions
- Function sumTo(n): While loops, assignments, complex control flow
Now demonstrates:
- Functions with parameters and return types
- Multiple statement types (Assignment, IfStatement, WhileLoop, Return)
- Multiple expression types (BinaryOperation, VariableReference, Literals)
- Type annotations (PrimitiveType)
Should generate meaningful text output for textgen validation.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-03 21:17:34 -07:00
|
|
|
<concept id="8440420766104857192" name="SemAnno.structure.Function" flags="ng" index="2Ks9S5">
|
|
|
|
|
<child id="8982541288447632614" name="parameters" index="2Ks9SI" />
|
|
|
|
|
<child id="8982541288447632625" name="body" index="2Ks9SJ" />
|
|
|
|
|
<child id="8982541288447632624" name="returnType" index="2Ks9SK" />
|
|
|
|
|
</concept>
|
|
|
|
|
<concept id="8440420766104857256" name="SemAnno.structure.Parameter" flags="ng" index="2Ks9Tj">
|
|
|
|
|
<child id="8982541288447632623" name="type" index="2Ks9SL" />
|
|
|
|
|
</concept>
|
|
|
|
|
<concept id="8982541288447632647" name="SemAnno.structure.Block" flags="ng" index="2KtLg9">
|
|
|
|
|
<child id="8982541288447632648" name="statements" index="2KtLgA" />
|
|
|
|
|
</concept>
|
|
|
|
|
<concept id="8982541288447632660" name="SemAnno.structure.Assignment" flags="ng" index="2KtLgs">
|
|
|
|
|
<child id="8982541288447632661" name="value" index="2KtLgt" />
|
|
|
|
|
</concept>
|
|
|
|
|
<concept id="8982541288447632764" name="SemAnno.structure.BinaryOperation" flags="ng" index="2KtLkU">
|
|
|
|
|
<child id="8982541288447632766" name="left" index="2KtLkW" />
|
|
|
|
|
<child id="8982541288447632767" name="right" index="2KtLkX" />
|
|
|
|
|
</concept>
|
|
|
|
|
<concept id="8982541288447632817" name="SemAnno.structure.VariableReference" flags="ng" index="2KtLnB" />
|
|
|
|
|
<concept id="8982541288447632837" name="SemAnno.structure.IntegerLiteral" flags="ng" index="2KtLoP" />
|
2026-02-03 21:19:59 -07:00
|
|
|
<concept id="8982541288447632753" name="SemAnno.structure.Return" flags="ng" index="2KtLkJ">
|
|
|
|
|
<child id="8982541288447632754" name="value" index="2KtLkK" />
|
|
|
|
|
</concept>
|
Expand Phase1Test with comprehensive examples
Added to Calculator module:
- Global variable: PI
- Function add(x, y): Parameters, binary operations, assignments, returns
- Function isPositive(num): If/else statements, boolean literals, conditions
- Function sumTo(n): While loops, assignments, complex control flow
Now demonstrates:
- Functions with parameters and return types
- Multiple statement types (Assignment, IfStatement, WhileLoop, Return)
- Multiple expression types (BinaryOperation, VariableReference, Literals)
- Type annotations (PrimitiveType)
Should generate meaningful text output for textgen validation.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-03 21:17:34 -07:00
|
|
|
<concept id="8982541288447632596" name="SemAnno.structure.PrimitiveType" flags="ng" index="2KtL_I" />
|
2026-02-03 21:12:07 -07:00
|
|
|
</language>
|
|
|
|
|
<language id="ceab5195-25ea-4f22-9b92-103b95ca8c0c" name="jetbrains.mps.lang.core">
|
|
|
|
|
<concept id="1169194658468" name="jetbrains.mps.lang.core.structure.INamedConcept" flags="ngI" index="TrEIO">
|
|
|
|
|
<property id="1169194664001" name="name" index="TrG5h" />
|
|
|
|
|
</concept>
|
|
|
|
|
</language>
|
|
|
|
|
</registry>
|
Expand Phase1Test with comprehensive examples
Added to Calculator module:
- Global variable: PI
- Function add(x, y): Parameters, binary operations, assignments, returns
- Function isPositive(num): If/else statements, boolean literals, conditions
- Function sumTo(n): While loops, assignments, complex control flow
Now demonstrates:
- Functions with parameters and return types
- Multiple statement types (Assignment, IfStatement, WhileLoop, Return)
- Multiple expression types (BinaryOperation, VariableReference, Literals)
- Type annotations (PrimitiveType)
Should generate meaningful text output for textgen validation.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-03 21:17:34 -07:00
|
|
|
|
|
|
|
|
<node concept="2Ks9RF" id="Phase1_M001">
|
|
|
|
|
<property role="TrG5h" value="Calculator" />
|
|
|
|
|
<node concept="2KtM7O" id="Phase1_V001" role="2Ks9RG">
|
|
|
|
|
<property role="TrG5h" value="PI" />
|
|
|
|
|
</node>
|
|
|
|
|
<node concept="2Ks9S5" id="Phase1_F001" role="2Ks9RH">
|
|
|
|
|
<property role="TrG5h" value="add" />
|
|
|
|
|
<node concept="2Ks9Tj" id="Phase1_P001" role="2Ks9SI">
|
|
|
|
|
<property role="TrG5h" value="x" />
|
|
|
|
|
<node concept="2KtL_I" id="Phase1_T001" role="2Ks9SL">
|
|
|
|
|
<property role="TrG5h" value="int" />
|
|
|
|
|
</node>
|
|
|
|
|
</node>
|
|
|
|
|
<node concept="2Ks9Tj" id="Phase1_P002" role="2Ks9SI">
|
|
|
|
|
<property role="TrG5h" value="y" />
|
|
|
|
|
<node concept="2KtL_I" id="Phase1_T002" role="2Ks9SL">
|
|
|
|
|
<property role="TrG5h" value="int" />
|
|
|
|
|
</node>
|
|
|
|
|
</node>
|
|
|
|
|
<node concept="2KtL_I" id="Phase1_T003" role="2Ks9SK">
|
|
|
|
|
<property role="TrG5h" value="int" />
|
|
|
|
|
</node>
|
|
|
|
|
<node concept="2KtLg9" id="Phase1_B001" role="2Ks9SJ">
|
|
|
|
|
<node concept="2KtLgs" id="Phase1_A001" role="2KtLgA">
|
|
|
|
|
<property role="TrG5h" value="result" />
|
|
|
|
|
<node concept="2KtLkU" id="Phase1_E001" role="2KtLgt">
|
2026-02-03 21:19:59 -07:00
|
|
|
<property role="TrG5h" value="plus" />
|
Expand Phase1Test with comprehensive examples
Added to Calculator module:
- Global variable: PI
- Function add(x, y): Parameters, binary operations, assignments, returns
- Function isPositive(num): If/else statements, boolean literals, conditions
- Function sumTo(n): While loops, assignments, complex control flow
Now demonstrates:
- Functions with parameters and return types
- Multiple statement types (Assignment, IfStatement, WhileLoop, Return)
- Multiple expression types (BinaryOperation, VariableReference, Literals)
- Type annotations (PrimitiveType)
Should generate meaningful text output for textgen validation.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-03 21:17:34 -07:00
|
|
|
<node concept="2KtLnB" id="Phase1_E002" role="2KtLkW">
|
|
|
|
|
<property role="TrG5h" value="x" />
|
|
|
|
|
</node>
|
|
|
|
|
<node concept="2KtLnB" id="Phase1_E003" role="2KtLkX">
|
|
|
|
|
<property role="TrG5h" value="y" />
|
|
|
|
|
</node>
|
|
|
|
|
</node>
|
|
|
|
|
</node>
|
|
|
|
|
<node concept="2KtLkJ" id="Phase1_R001" role="2KtLgA">
|
|
|
|
|
<node concept="2KtLnB" id="Phase1_E004" role="2KtLkK">
|
|
|
|
|
<property role="TrG5h" value="result" />
|
|
|
|
|
</node>
|
|
|
|
|
</node>
|
|
|
|
|
</node>
|
|
|
|
|
</node>
|
|
|
|
|
<node concept="2Ks9S5" id="Phase1_F002" role="2Ks9RH">
|
2026-02-03 21:19:59 -07:00
|
|
|
<property role="TrG5h" value="multiply" />
|
Expand Phase1Test with comprehensive examples
Added to Calculator module:
- Global variable: PI
- Function add(x, y): Parameters, binary operations, assignments, returns
- Function isPositive(num): If/else statements, boolean literals, conditions
- Function sumTo(n): While loops, assignments, complex control flow
Now demonstrates:
- Functions with parameters and return types
- Multiple statement types (Assignment, IfStatement, WhileLoop, Return)
- Multiple expression types (BinaryOperation, VariableReference, Literals)
- Type annotations (PrimitiveType)
Should generate meaningful text output for textgen validation.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-03 21:17:34 -07:00
|
|
|
<node concept="2Ks9Tj" id="Phase1_P003" role="2Ks9SI">
|
2026-02-03 21:19:59 -07:00
|
|
|
<property role="TrG5h" value="a" />
|
Expand Phase1Test with comprehensive examples
Added to Calculator module:
- Global variable: PI
- Function add(x, y): Parameters, binary operations, assignments, returns
- Function isPositive(num): If/else statements, boolean literals, conditions
- Function sumTo(n): While loops, assignments, complex control flow
Now demonstrates:
- Functions with parameters and return types
- Multiple statement types (Assignment, IfStatement, WhileLoop, Return)
- Multiple expression types (BinaryOperation, VariableReference, Literals)
- Type annotations (PrimitiveType)
Should generate meaningful text output for textgen validation.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-03 21:17:34 -07:00
|
|
|
<node concept="2KtL_I" id="Phase1_T004" role="2Ks9SL">
|
|
|
|
|
<property role="TrG5h" value="int" />
|
|
|
|
|
</node>
|
|
|
|
|
</node>
|
|
|
|
|
<node concept="2Ks9Tj" id="Phase1_P004" role="2Ks9SI">
|
2026-02-03 21:19:59 -07:00
|
|
|
<property role="TrG5h" value="b" />
|
|
|
|
|
<node concept="2KtL_I" id="Phase1_T005" role="2Ks9SL">
|
Expand Phase1Test with comprehensive examples
Added to Calculator module:
- Global variable: PI
- Function add(x, y): Parameters, binary operations, assignments, returns
- Function isPositive(num): If/else statements, boolean literals, conditions
- Function sumTo(n): While loops, assignments, complex control flow
Now demonstrates:
- Functions with parameters and return types
- Multiple statement types (Assignment, IfStatement, WhileLoop, Return)
- Multiple expression types (BinaryOperation, VariableReference, Literals)
- Type annotations (PrimitiveType)
Should generate meaningful text output for textgen validation.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-03 21:17:34 -07:00
|
|
|
<property role="TrG5h" value="int" />
|
|
|
|
|
</node>
|
|
|
|
|
</node>
|
2026-02-03 21:19:59 -07:00
|
|
|
<node concept="2KtL_I" id="Phase1_T006" role="2Ks9SK">
|
Expand Phase1Test with comprehensive examples
Added to Calculator module:
- Global variable: PI
- Function add(x, y): Parameters, binary operations, assignments, returns
- Function isPositive(num): If/else statements, boolean literals, conditions
- Function sumTo(n): While loops, assignments, complex control flow
Now demonstrates:
- Functions with parameters and return types
- Multiple statement types (Assignment, IfStatement, WhileLoop, Return)
- Multiple expression types (BinaryOperation, VariableReference, Literals)
- Type annotations (PrimitiveType)
Should generate meaningful text output for textgen validation.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-03 21:17:34 -07:00
|
|
|
<property role="TrG5h" value="int" />
|
|
|
|
|
</node>
|
2026-02-03 21:19:59 -07:00
|
|
|
<node concept="2KtLg9" id="Phase1_B002" role="2Ks9SJ">
|
|
|
|
|
<node concept="2KtLkU" id="Phase1_E005" role="2KtLgA">
|
|
|
|
|
<property role="TrG5h" value="times" />
|
|
|
|
|
<node concept="2KtLnB" id="Phase1_E006" role="2KtLkW">
|
|
|
|
|
<property role="TrG5h" value="a" />
|
Expand Phase1Test with comprehensive examples
Added to Calculator module:
- Global variable: PI
- Function add(x, y): Parameters, binary operations, assignments, returns
- Function isPositive(num): If/else statements, boolean literals, conditions
- Function sumTo(n): While loops, assignments, complex control flow
Now demonstrates:
- Functions with parameters and return types
- Multiple statement types (Assignment, IfStatement, WhileLoop, Return)
- Multiple expression types (BinaryOperation, VariableReference, Literals)
- Type annotations (PrimitiveType)
Should generate meaningful text output for textgen validation.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-03 21:17:34 -07:00
|
|
|
</node>
|
2026-02-03 21:19:59 -07:00
|
|
|
<node concept="2KtLnB" id="Phase1_E007" role="2KtLkX">
|
|
|
|
|
<property role="TrG5h" value="b" />
|
Expand Phase1Test with comprehensive examples
Added to Calculator module:
- Global variable: PI
- Function add(x, y): Parameters, binary operations, assignments, returns
- Function isPositive(num): If/else statements, boolean literals, conditions
- Function sumTo(n): While loops, assignments, complex control flow
Now demonstrates:
- Functions with parameters and return types
- Multiple statement types (Assignment, IfStatement, WhileLoop, Return)
- Multiple expression types (BinaryOperation, VariableReference, Literals)
- Type annotations (PrimitiveType)
Should generate meaningful text output for textgen validation.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-03 21:17:34 -07:00
|
|
|
</node>
|
|
|
|
|
</node>
|
|
|
|
|
</node>
|
2026-02-03 21:12:07 -07:00
|
|
|
</node>
|
|
|
|
|
</node>
|
|
|
|
|
</model>
|