Merge branch 'master' of https://github.com/dabeaz/sly
This commit is contained in:
commit
52c993e00c
@ -1353,7 +1353,7 @@ like this::
|
|||||||
def expr(self, p):
|
def expr(self, p):
|
||||||
return ('number-expression', p.NUMBER)
|
return ('number-expression', p.NUMBER)
|
||||||
|
|
||||||
Another approach is to create a set of data structure for different
|
Another approach is to create a set of data structures for different
|
||||||
kinds of abstract syntax tree nodes and create different node types
|
kinds of abstract syntax tree nodes and create different node types
|
||||||
in each rule::
|
in each rule::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user