On Tue, Oct 28, 2008 at 01:50:42AM -0500, Chris Dolan wrote: > > My goal is to build arbitrarily complex data structures from closures > fired in my grammar. Specifically, I'm trying to write a PDF parser -- > my grammar is parsing correctly now, but I'd rather not have to write the > closures in PIR if I can help it.
Would it make sense to use action methods (the "{*}" tokens) for the closures instead of embedding them directly into the grammar? Pm