[antlr-interest] tricky (to this newby) translation problem
Terence Parr
parrt at cs.usfca.edu
Fri Dec 30 13:44:01 PST 2005
On Dec 30, 2005, at 1:43 PM, Sohail Somani wrote:
> On Fri, 2005-12-30 at 16:15 -0500, Kenny Tilton wrote:
>>
>> I meant to mention: My other rationalization for being too lazy or
>> dumb
>> to figure out StringTemplate was that its raison d'etre seemed to be
>> multiple targets, and I just need to get from C to Common Lisp.
>> Does ST
>> have other advantages besides multiple targets?
>
> Its "kind of" better than having print statements throughout your
> code,
> plus lazy evaluation (iirc). Other than that, I don't think so.
Yeah, i forgot to mention that decoupling order of computation from
order of output is crucial to difficult problems; e.g., languages
like C where you need to generate headers for functions you've not
parsed yet in the input stream. :)
Ter
More information about the antlr-interest
mailing list