[antlr-interest] Exception when generating tree grammar

Stephen Tuttlebee themightystephen at googlemail.com
Thu Aug 4 07:41:08 PDT 2011

Well, to refresh my memory on this term rewriting stuff you're doing, I 
looked at Terence Parr's Language Implementation Patterns book which has 
a section about this (if you have the book, it's p138 in the pdf edition).

I think then it might be your tree construction rewrite rules that are 
syntactically incorrect.
Maybe it should be:
-> $single
rather than:
-> ^($single)

Hope it works this time...

More information about the antlr-interest mailing list