[antlr-interest] Change in output location with 3.0b7

Terence Parr parrt at cs.usfca.edu
Wed Apr 18 11:47:37 PDT 2007


On Apr 18, 2007, at 8:01 AM, femtowin1 wrote:

> I haven't use this feature so doesn't know how much this  
> inconvenience is.
>   but my personal taste, or rather, unlike place of antlr is that:
> it uses StringTemplate and StringTemplate's grammar is quite unintuive
> . personally I would prefer something like velocity or freemarker,
> because these template engine are all well accepted and the grammar  
> for variable is ${var}, very much like many other template language.
> (actually, most templete language use this syntax, and  
> StringTemplate uses quite exotic grammar).

Yes, but they all violate model-view separation and therefore cannot  
guarantee retargetability like ST can.  You should read: "Enforcing  
Strict Model-View Separation in Template Engines":

http://www.cs.usfca.edu/~parrt/papers/mvc.templates.pdf

Ter


More information about the antlr-interest mailing list