reimplement parsing code (but program does not compile yet because I have to change type of 'USE_SQUARES' constructure)
This commit is contained in:
@@ -11,9 +11,9 @@ int ::= (0-9)+
|
||||
|
||||
item ::= **{** int int int int int int int int **}**
|
||||
|
||||
grid ::= **[** item **]**
|
||||
layer ::= **[** item **]**
|
||||
|
||||
grid_list ::= int int **{** (grid)+ **}**
|
||||
layer_tree ::= int int **{** (layer)* **}**
|
||||
```
|
||||
|
||||
The first two `int`s in the grid `int int **{** (item)+ **}**` always follow the order: `canvasWidth canvasHeight`.
|
||||
|
||||
Reference in New Issue
Block a user