[antlr-interest] De-emphasizing tree grammars?

Voelkel, Andy andy.voelkel at plantronics.com
Mon Dec 26 17:45:25 PST 2011


This whole discussion is very welcome and rather exciting. As a relative newcomer to this technology, the direction that v4 seems to be taking nonetheless seems very right to me. I've done two very small projects with ANTLR so far. On the first one, I tried tree grammars since they seemed to be "promoted", on the second I decided to do my own tree walking. They both had advantages, but I ultimately did prefer doing my own tree walking because it allowed me to take greater advantage of the language environment I was using (C# in my case). I also find debugging the tree walking code easier because it isn't a mixed language environment.

It sounds like the new approach with a "callback-like" interface also give me even more flexibility in deciding what data structures to use for my trees, which is even better.

I applaud the open mindedness and flexibility that Terence is showing in changing his approach!

- Andy

________________________________

CONFIDENTIALITY NOTICE: This e-mail transmission, and any documents, files or previous e-mail messages attached to it, may contain information that is confidential and/or legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, please DO NOT disclose the contents to another person, store or copy the information in any medium, or use any of the information contained in or attached to this transmission for any purpose. If you have received this transmission in error, please immediately notify the sender by reply email or at privacy at plantronics.com, and destroy the original transmission and its attachments without reading or saving in any manner.

For further information about Plantronics - the Company, its products, brands, partners, please visit our website www.plantronics.com.


More information about the antlr-interest mailing list