> Why are the AST's emitted by the online grammar checkers at the XML Query > website different from those produced by walking the formal BNF's manually? > 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. -scottReceived on Monday, 26 May 2003 14:18:17 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:13:59 GMT