W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > January to March 2007

yacker SPARQL updated to parse comments

From: Eric Prud'hommeaux <eric@w3.org>
Date: Sat, 20 Jan 2007 08:59:23 -0500
To: public-rdf-dawg@w3.org
Message-ID: <20070120135923.GD16507@w3.org>
I updated the yacker grammar to accept comments.
See <http://w3.org/brief/MjA=> for a validation of

[[
# starting comment
#no-spacecomment
SELECT # mid comment
       *
 WHERE { ?s ?p [ # bnode comment
                 ] }
# end comment
]]


Changes:
+ [83a]  	COMMENT   ::=           '#' [^\r\n]*
+ [83b]  	IGNORED   ::=           WS+ | COMMENT
- [84]   	ANON 	  ::=   	'[' WS* ']'
+ [84]   	ANON 	  ::=   	'[' IGNORED* ']'
+ @pass: 	IGNORED
-- 
-eric

office: +1.617.258.5741 NE43-344, MIT, Cambridge, MA 02144 USA
cell:   +1.857.222.5741

(eric@w3.org)
Feel free to forward this message to any list for any purpose other than
email address distribution.

Received on Saturday, 20 January 2007 14:00:00 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:35 GMT