vnmakarov / yaep

Yet Another Earley Parser
Other
137 stars 14 forks source link

Exploring ASTs and productions #27

Closed mcchran closed 4 years ago

mcchran commented 4 years ago

Hey there, I am really struggling to print out the tree that the parser does produce. The root node the parse method provides, does not afford any children node connections rather some info and the code of the terminal character. Could you please explain me how can I get access to all the derivation trees of any ambiguously parsed string?