[antlr-interest] i need your opinions about antlr

Sohail Somani sohail at taggedtype.net
Wed Dec 14 21:53:06 PST 2005


On Thu, 2005-12-15 at 00:31 -0500, duboimat at iro.umontreal.ca wrote:
> hello,
> 
> i would like to know your opinion
> 
> I have to use a heteregnous tree to support different langages at the 
> same time.
> In my project i will do a lot of tree transformation on these trees by using
> some algorythms.  I would like also to use string template(st) as ouput to
> target a specific langagues.  My goal is to have a generic input and output
> 
> Is it better to do that with antlr v3 or v2.
> When i used st in a tree parser I have some repetition on the ouput.
> it didn't work well when i included st in a recursive call.
> 
> so, if I create my own nodes and push each node in the template (string
> template) by calling them. (like a big stack that i push each node into it)

I've had good results with this model. In retrospect, I would have
preferred to have had a TreeParser generate the StringTemplate.

Sohail



More information about the antlr-interest mailing list