W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2004

Re: [XQuery] A.2.2 Lexical Rules: pattern conflicts

From: Michael Dyck <jmdyck@ibiblio.org>
Date: Thu, 29 Jan 2004 14:17:38 -0800
To: public-qt-comments@w3.org
Message-id: <40198682.3CE1BF07@ibiblio.org>

"Kay, Michael" wrote:
> 
> I really think we need to distinguish specifying the language from
> writing a parser. The BNF here is absolutely clear, and it's up to the
> implementor whether a keyword like "context" is recognized by the lexer
> because it's in some special state, or whether the lexer simply returns
> a QName to the parser, which checks to see if the QName represents the
> string "context".
> 
> I would love to see us get rid of lexical states entirely from the
> specification of the language, and reduce them to an appendix on
> "implementation hints".

I agree completely.

-Michael Dyck
Received on Thursday, 29 January 2004 17:23:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:04 GMT