Why AstNode

Oct 18, 2015 at 1: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?
Coordinator
Oct 20, 2015 at 5: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 26, 2015 at 11:48 PM
Got it. Thank you very much for your reply.