BNF: end of statement character
This commit is contained in:
parent
7a37173263
commit
6b6d084096
|
@ -157,7 +157,7 @@ This does not follow standard BNF/EBNF syntax, I will rewrite it once I get all
|
||||||
### 3.3 Assignment Statement
|
### 3.3 Assignment Statement
|
||||||
```
|
```
|
||||||
<assignment statement> ->
|
<assignment statement> ->
|
||||||
<assignment expression>
|
<assignment expression> ;
|
||||||
|
|
||||||
<assignment expression> ->
|
<assignment expression> ->
|
||||||
<arithmetic variable identifier> = <arithmetic expression>
|
<arithmetic variable identifier> = <arithmetic expression>
|
||||||
|
@ -226,8 +226,7 @@ This does not follow standard BNF/EBNF syntax, I will rewrite it once I get all
|
||||||
```
|
```
|
||||||
#### 3.3.3 Conditional Expression
|
#### 3.3.3 Conditional Expression
|
||||||
```
|
```
|
||||||
// BNF from C specification
|
// BNF from C specification adapted to PLATYPUS
|
||||||
// (adapted to PLATYPUS specification 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
|
// source: https://cs.wmich.edu/~gupta/teaching/cs4850/sumII06/The%20syntax%20of%20C%20in%20Backus-Naur%20form.htm
|
||||||
<conditional expression> ->
|
<conditional expression> ->
|
||||||
<logical OR expression>
|
<logical OR expression>
|
||||||
|
|
Loading…
Reference in New Issue