W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2003

Re: FW: different AST's

From: <scott_boag@us.ibm.com>
Date: Mon, 26 May 2003 13:52:14 -0400
To: "Howard Katz" <howardk@fatdog.com>
Cc: public-qt-comments@w3.org, public-qt-comments-request@w3.org
Message-ID: <OF91F6E0A8.00603FBC-ON85256D32.006105FE-85256D32.0063030D@lotus.com>
> Why are the AST's emitted by the online grammar checkers at the XML 
> website different from those produced by walking the formal BNF's 
> The former omit a lot of the intermediate productions. How come?

When we make the JavaCC/JJTree parser we spec certain nodes as "void" in 
certain contexts, meaning, they don't have real meaning in the AST, so 
don't construct them.  I would like to void more nodes, actually.   It's 
really only a means of keeping the size of the tree down.

Received on Monday, 26 May 2003 14:18:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:12 UTC