[N3-SYNTAX] comments / missing informations

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