[stringtemplate-interest] StringTemplate + Doclet

Terence Parr parrt at cs.usfca.edu
Wed Dec 22 09:46:16 PST 2010


I may try this out today (for v4 and backpatch to v3) :)
Ter
On Dec 22, 2010, at 9:38 AM, Brian Clapper wrote:

> On 12/21/10 5:43 PM, Terence Parr wrote:
>> we need to add registerModelAdaptor like reg renderer then just look up when we
>> do properties.
> 
> I'm very interested in how this debate pans out. I wrote a Scala front-end to
> StringTemplate, called Scalasti (http://software.clapper.org/scalasti/). To
> support a more Scala-like interface (i.e., the ability to put Scala objects
> into a template, without requiring that they adhere to a Java Bean accessor
> contract), I ended up using ASM to generate interfaces on the fly, which I then
> implement via java.lang.reflect.Proxy.
> 
> If there were a more official mechanism supported by the StringTemplate API, I
> could dispense with that approach.
> -- 
> -Brian
> 
> Brian Clapper, http://www.clapper.org/bmc/
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest



More information about the stringtemplate-interest mailing list