diff --git a/BNF.md b/BNF.md new file mode 100644 index 0000000..492ff34 --- /dev/null +++ b/BNF.md @@ -0,0 +1,98 @@ +Lexical Syntax + + ::= + + ::= + | , ... + + ::= + | , + + ::= + | ( ) + | ( ) + | ( {}* ) + + ::= + + ::= + | || + + ::= + | || + + ::= + | || + + ::= + | && + + ::= + | == + | != + + ::= + | <= + | >= + | < + | > + + ::= + | + + | - + + ::= + | * + | / + | % + + ::= + | -- + | ++ + | !! + + ::= + | + + ::= + | (| {}* |) + + ::= + | + | (| |) + + ::= + | , + + + ::= + | + + ::= + | + + ::= = + + ::= @ + | ~ + | ! + + ::= {}? + + ::= + | = + + ::= + | [ ] + | [ , ] + + ::= + | , + + ::= + | + + ::= {}? + + ::= if ( ) + | if ( ) else