[antlr-interest] LPG (Was: Retaining comments)

David Holroyd dave at badgers-in-foil.co.uk
Thu Mar 13 02:06:22 PDT 2008


I may have mistakenly given the impression that I was,

 a) Trying to enter into an AST vs. Parse Tree debate
 b) Suggesting that Gerald actually use LPG

while neither was the case!  ;)


I was just pointing out that elsewhere, people have got useful results
by attempting to infer a type-structure directly from the grammar and
some embedded metadata.

It should almost be possible to do something similar based on ANTLR's
existing rewrite-rule syntax..?


ta,
dave

-- 
http://david.holroyd.me.uk/


More information about the antlr-interest mailing list