[antlr-interest] LPG WAS Retaining comments

Daniels, Troy (US SSA) troy.daniels at baesystems.com
Tue Mar 18 13:08:37 PDT 2008


 

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org 
> [mailto:antlr-interest-bounces at antlr.org] On Behalf Of Andy Tripp
> Sent: Wednesday, March 12, 2008 6:55 PM
> To: Terence Parr
> Cc: antlr-interest at antlr.org
> Subject: Re: [antlr-interest] LPG WAS Retaining comments
> 
> Hmmm...a tool that automatically produces an "AST" just from 
> an input grammar.
> What a novel concept!  ;)
> 
> But the authors call it an "AST" when in fact it's really 
> just a parse tree, not an AST.

So what is the difference between a parse tree and an AST?  If there's a
wiki page that explains it, a link is a fine answer.

Troy


More information about the antlr-interest mailing list