1b49ff317c699f28384fcbc3a54442964e10ac81
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>
Description
No description provided
Languages
JetBrains MPS
100%