diff options
| author | Baitinq <[email protected]> | 2025-04-01 23:46:55 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-04-01 23:47:14 +0200 |
| commit | d4ec81f8453ecc5ded0d2c2843c952ab27d19642 (patch) | |
| tree | 89af68c5f2b9c5552e95c70d6f2fba44b3d1d7a2 /grammar.ebnf | |
| parent | Evaluator: Remove evaluator (diff) | |
| download | interpreter-d4ec81f8453ecc5ded0d2c2843c952ab27d19642.tar.gz interpreter-d4ec81f8453ecc5ded0d2c2843c952ab27d19642.tar.bz2 interpreter-d4ec81f8453ecc5ded0d2c2843c952ab27d19642.zip | |
Feature: Start adding support for assigning to pointers with arithmetic
Diffstat (limited to 'grammar.ebnf')
| -rw-r--r-- | grammar.ebnf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar.ebnf b/grammar.ebnf index 85d824d..f421d28 100644 --- a/grammar.ebnf +++ b/grammar.ebnf @@ -2,7 +2,7 @@ Program ::= Statement+ Statement ::= (AssignmentStatement | ExternDeclaration | FunctionCallStatement | IfStatement | WhileStatement | ReturnStatement) SEMICOLON -AssignmentStatement ::= ("let")? ("*")? IDENTIFIER EQUALS Expression +AssignmentStatement ::= ("let")? ("*")? Expression EQUALS Expression ExternDeclaration ::= "extern" IDENTIFIER EQUALS Type |