From 5b1a49ccc676d9a3564050e203a7a68bf0ece578 Mon Sep 17 00:00:00 2001 From: Cori Barker Date: Wed, 4 Mar 2026 15:26:45 +0000 Subject: removed bnf since not needed, and added some more nodes to the AST --- bnf | 115 -------------------------------------------------------------------- 1 file changed, 115 deletions(-) delete mode 100644 bnf (limited to 'bnf') diff --git a/bnf b/bnf deleted file mode 100644 index cc49d87..0000000 --- a/bnf +++ /dev/null @@ -1,115 +0,0 @@ - ::= { } - - ::= - "function" "(" [ ] ")" - "->" - - - ::= { "," } - - ::= - - ::= "int" - | "bool" - - - ::= "{" - - "}" - - ::= { } - - ::= - | - | - | - | - | - | - - - ::= - [ "=" ] ";" - - ::= - "=" ";" - - ::= - "return" [ ] ";" - - ::= - ";" - - - ::= - "if" "(" ")" - - [ "else" ] - - ::= - "while" "(" ")" - - - ::= - "for" "(" - [ ] - ";" - [ ] - ";" - [ ] - ")" - - - ::= [ "=" ] - | - - - ::= - - ::= - { "||" } - - ::= - { "&&" } - - ::= - { ( "==" | "!=" ) } - - ::= - { ( "<" | ">" | "<=" | ">=" ) } - - ::= - { ( "+" | "-" ) } - - ::= - { ( "*" | "/" | "%" ) } - - ::= ( "!" | "-" ) - | - - ::= - | - | - | - | "(" ")" - - - ::= - "(" [ ] ")" - - ::= - { "," } - - - ::= { | } - - ::= { } - - ::= "true" - | "false" - - ::= "a" | ... | "z" - | "A" | ... | "Z" - | "_" - - ::= "0" | ... | "9" \ No newline at end of file -- cgit v1.2.3