RE: different AST's

Oops, the last production of the second tree should read "integerLiteral"
and not "integerExpr"
Howard

> -----Original Message-----
> From: Howard Katz [mailto:howardk@fatdog.com]
> Sent: Friday, May 16, 2003 4:15 PM
> To: public-qt-comments@w3.org
> Subject: different AST's
>
> 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? For example using the XPath 2.0 grammar
> checker at http://www.w3.org/2003/05/applets/xpathApplet.html, if I enter

    [ snip ... ]

>
>                  stepExpr
>
>                        filterStep
>
>                             primaryExpr         <- and this
>
>                                 literalExpr              <- and this
>
>                                     numericExpr           <- and this
>
>                                          integerExpr

   ...

Received on Friday, 16 May 2003 20:43:49 UTC