|
|
|
|
|
by PeCaN
3839 days ago
|
|
Let me guess, you're stuck fighting yacc and shift-reduce conflicts? I find writing your own parser to be much more instructive and a better way to understand why parser generators work the way they do. Alternatively you can use a PEG generator such as peg/leg[1] and your grammar will more or less work (until it resolves an ambiguity in some way you didn't expect, anyway). 1: http://piumarta.com/software/peg/ |
|