- From: luc peuvrier at home <lc.pvrr@orange.fr>
- Date: Sun, 1 Feb 2009 19:58:35 +0100
- To: <public-cwm-talk@w3.org>
- Cc: "++jean marc vanel" <jeanmarc.vanel@gmail.com>
Received on Monday, 2 February 2009 07:43:56 UTC
Hi,
I used http://www.w3.org/DesignIssues/Notation3 to create a n3 file parser.
I do not found in whitespace paragraph any description of comment.
I described like this for my parser grammar definition file:
ws :
| wsElt
| ws wsElt
;
wsElt : [\u0000- ]
| '#' chars_in_comment '\n'
;
chars_in_comment :
| [ -\uFFFF]
| chars_in_comment [ -\uFFFF]
;
In BNF it can look like:
whitespace
([\u0000-\u0020]|(#.*\n))*
Best regards
Luc Peuvrier
Received on Monday, 2 February 2009 07:43:56 UTC