patrickhuber / Pliant

MIT License
26 stars 4 forks source link

Creating parse tree with regex grammar doesn't create proper parse tree #20

Closed patrickhuber closed 9 years ago

patrickhuber commented 9 years ago

Using simple grammar

R-> E E-> T | T-> F T | T F-> 'a'

The GetRoot function of the ParseEngine class returns the incorrect parse tree.