automated commit TP3
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
grammar Tree;
|
||||
|
||||
|
||||
int_tree_top : int_tree EOF #top
|
||||
;
|
||||
|
||||
int_tree: INT #leaf
|
||||
| '(' INT int_tree+ ')' #node
|
||||
;
|
||||
|
||||
|
||||
INT: [0-9]+;
|
||||
WS : (' '|'\t'|'\n')+ -> skip;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user