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

RE: questionable syntax choices

From: Volkmann, Mark <Mark.Volkmann@AGEDWARDS.com>
Date: Fri, 30 Apr 2004 07:29:03 -0500
Message-Id: <89539780CB9BD51182270002A5897DF60C022931@hqempn04.agedwards.com>
To: 'Michael Kay' <mhk@mhk.me.uk>, 'Jonathan Robie' <jonathan.robie@datadirect.com>, scott_boag@us.ibm.com
Cc: public-qt-comments@w3.org
Okay, I remember that being said before, but it's not obvious to me why
that's the case.
Why is it difficult to provide good error diagnostics if function defintions
only have to be terminated by "}" instead of "};"?

-----Original Message-----
From: Michael Kay [mailto:mhk@mhk.me.uk]
Sent: Thursday, April 29, 2004 4:47 PM
To: Volkmann, Mark; 'Jonathan Robie'; scott_boag@us.ibm.com
Cc: public-qt-comments@w3.org
Subject: RE: questionable syntax choices


 I'd guess it will be hard to make the case that including the semicolon
makes writing XQuery parsers significantly easier. 
 
As I think we've explained several times, the semicolons are not there to
make writing parsers easier. They are there to give you better error
diagnostics when you get the syntax wrong.
 
Michael Kay 



----------------------------------------------------------------------------
---------
A.G. Edwards & Sons' outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other 
than the recipient.

----------------------------------------------------------------------------
---------
Received on Friday, 30 April 2004 08:40:00 UTC

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