[antlr-interest] ANTLR 3.0 tree construction proposal
John D. Mitchell
johnm-antlr at non.net
Wed Feb 2 11:18:40 PST 2005
>>>>> "Loring" == Loring Craymer <Loring.G.Craymer at jpl.nasa.gov> writes:
>>>>>> At 09:29 AM 2/2/2005, John D. Mitchell wrote:
[...]
>> Hmm... But that presumes a constructivist approach. I.e., one would
>> have to create the phases in order so that this automated tree grammar
>> would be constructed. Sometimes, it's much better to e.g., work
>> backwards from the tree that you want and then determine the (sequence
>> of) transformations to make that.
> So you sketch backward and then implement forward. The key is that
> automatic tree generation makes the implement forward phase very fast (I
> did tree transformation development for a pretty complete expression
> grammar in about 2 hours).
Cool.
However, what about the cases where you've already built the system and now
are going around tweaking it?
Thanks,
John
More information about the antlr-interest
mailing list