We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f8d38a commit c269ce8Copy full SHA for c269ce8
grammar.md
@@ -28,6 +28,7 @@ statement : compound_statement
28
| assignment_statement
29
| repeat_until
30
| for_loop
31
+ | for_loop
32
| empty
33
34
function_call : id LPAREN (factor (factor COLON)* )* RPAREN (COLON type_spec){0,1}
@@ -42,6 +43,8 @@ repeat_until : REPEAT statement UNTIL condition
42
43
44
for_loop : FOR variable ASSIGN expression TO expression DO statement
45
46
+for_loop : WHILE condition DO statement
47
+
48
assignment_statement : variable ASSIGN expr
49
50
empty :
0 commit comments