aboutsummaryrefslogtreecommitdiff
path: root/syntax.md
diff options
context:
space:
mode:
Diffstat (limited to 'syntax.md')
-rw-r--r--syntax.md9
1 files changed, 0 insertions, 9 deletions
diff --git a/syntax.md b/syntax.md
index b8e4554..74e5cc3 100644
--- a/syntax.md
+++ b/syntax.md
@@ -3,15 +3,6 @@
### Statements
```PEG
-IfStatement ← 'if' Expression Block 'else' Block /
- 'if' Expression Block
-
-SwitchStatement ← 'switch' Expression '{' SwitchCase+ '}'
-SwitchCase ← CaseSpecifier Block /
- 'default' Block
-CaseSpecifier ← 'case' Expression ',' CaseSpecifier /
- 'case' Expression ','?
-
WhileStatement ← 'while' Expression Block
DoWhileStatement ← 'do' Block 'while' Expression ';'
ForStatement ← 'for' VariableDefinition? ';' Expression ';' AssignmentStatementBody? Block