feat: add while loops, break and continue statements
This commit is contained in:
@@ -107,4 +107,10 @@ run_test "tests/let_stmt.src" 30
|
||||
# Test assignments and multi-assignments
|
||||
run_test "tests/assign.src" 42
|
||||
|
||||
# Test while loops
|
||||
run_test "tests/fibonacci.src" 55
|
||||
|
||||
# Test break and continue inside while loops
|
||||
run_test "tests/while_break_continue.src" 16
|
||||
|
||||
echo "All end-to-end tests passed!"
|
||||
Reference in New Issue
Block a user