This project has moved. For the latest updates, please go here.

Why AstNode

Oct 18, 2015 at 2:15 AM
Hi All,
Sorry if my question might sound stupid but why do I need to create or subclass AstNode for my non-terminals?
Oct 20, 2015 at 6:20 PM
you don't have to, but if you need to generate abstract syntax tree (AST) then you need all these custom nodes. Google and read about concrete/abstract syntax trees in parsing
Oct 27, 2015 at 12:48 AM
Got it. Thank you very much for your reply.