[antlr-interest] book, online doc discrepancy?

Mathew Yeates myeates at jpl.nasa.gov
Mon Jan 7 14:03:49 PST 2008


Thanks.
hello=stringtemplate.StringTemplate("Hello, $name$")
works for me.

Terence Parr wrote:
>
> On Jan 7, 2008, at 12:57 PM, Mathew Yeates wrote:
>
>> Well, str(hello) doesn't work. It seems like attributes are not being 
>> checked when writing.
>
> Hmm...probably $name$ is better as it's the default for templates not 
> in a group file.
> Ter
>




More information about the antlr-interest mailing list