diff options
| author | Baitinq <[email protected]> | 2025-04-06 16:17:22 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-04-06 16:17:22 +0200 |
| commit | bd42f4899d09c8f6317ae1af1747ae5b6ac81650 (patch) | |
| tree | ed21afbbcca7f0be0751e4bf7104bf7cdc9f36e6 /grammar.ebnf | |
| parent | Codegen: Fix GEP type (diff) | |
| download | pry-lang-bd42f4899d09c8f6317ae1af1747ae5b6ac81650.tar.gz pry-lang-bd42f4899d09c8f6317ae1af1747ae5b6ac81650.tar.bz2 pry-lang-bd42f4899d09c8f6317ae1af1747ae5b6ac81650.zip | |
Feature: Add char type and support underlying pointer values
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 f421d28..18d71da 100644 --- a/grammar.ebnf +++ b/grammar.ebnf @@ -26,7 +26,7 @@ MultiplicativeExpression ::= UnaryExpression (("*" | "/" | "%") UnaryExpression) UnaryExpression ::= ("!" | "-" | "*") UnaryExpression | PrimaryExpression -PrimaryExpression ::= NUMBER | BOOLEAN | STRING | IDENTIFIER | FunctionCallStatement | FunctionDefinition | LPAREN Expression RPAREN +PrimaryExpression ::= NUMBER | BOOLEAN | CHAR | STRING | IDENTIFIER | FunctionCallStatement | FunctionDefinition | LPAREN Expression RPAREN FunctionDefinition ::= LPAREN FunctionParameters? RPAREN ARROW IDENTIFIER LBRACE Statement* ReturnStatement SEMICOLON RBRACE |