Original Post
I''ve read a bit about recursive descent parsing, and I think I understand the basics of building a small state machine for a parser, but I have come accross something I dont understand...
When I am parsing, and I find a match to a rule, and I "consume" a token...what do I DO with it? Some sort of tree structure? What I mean is, what do I build during the parsing process that I can use later to generate code?
Thanks,
Lord Hen