diff --git a/PLATYPUS Grammar Specification.md b/PLATYPUS Grammar Specification.md index 256754e..5981456 100644 --- a/PLATYPUS Grammar Specification.md +++ b/PLATYPUS Grammar Specification.md @@ -82,7 +82,7 @@ 0 | -> one of - [1-9] + 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 -> 0 @@ -109,8 +109,8 @@ ``` ### 2.9 Separators ``` - -> one of - ( ) { } , ; " . + -> + ( | ) | { | } | , | ; | " |. ``` ### 2.10 Operators ``` @@ -119,14 +119,14 @@ | | | - -> one of - + - * / + -> + + | - | * | / - -> one of + -> << - -> one of - > < == <> + -> + > | < | == | <> -> .AND. | .OR. @@ -224,12 +224,6 @@ ``` #### 3.3.3 Conditional Expression ``` - -> - - | - | - - // BNF from C specification // (translated to PLATYPUS because it does not implement all of C's grammar) // source: https://cs.wmich.edu/~gupta/teaching/cs4850/sumII06/The%20syntax%20of%20C%20in%20Backus-Naur%20form.htm @@ -244,13 +238,6 @@ | .AND. // END BNF from C specification - - - -> - .OR. - - -> - .AND. ``` #### 3.3.4 Relational Expression ```