The grammar simplifications in A4 look really good. Any chance of a section in ch 4 on how to update A3 grammars? Better yet, how about a translator that automatically updates the grammars and turns the code fragments into visitor or listener code. Or perhaps this would be better done in a blog/wiki post.
Hi. I’m hoping that we can all create a conversion document as we learn from experience converting grammars. Once we know if this transformation is, we can try to automate it. The good news is that the grammars, unlike the actions, will more or less translate 1 for 1 if you remove the syntactic predicates.
|You must be logged in to comment|