W3C home > Mailing lists > Public > public-rdf-wg@w3.org > March 2011

Re: [Turtle] the Turtle Grammar in the revised editor's draft does not allow comments in Turtledoc

From: Alex Hall <alexhall@revelytix.com>
Date: Tue, 8 Mar 2011 12:57:48 -0500
Message-ID: <AANLkTimingqn0wsQNnfF+QnDLkS8+r=3KE-r_OfsbYfq@mail.gmail.com>
To: public-rdf-wg <public-rdf-wg@w3.org>
On Tue, Mar 8, 2011 at 12:28 PM, Antoine Zimmermann <
antoine.zimmermann@insa-lyon.fr> wrote:

> The grammar at http://www.w3.org/2010/01/Turtle/#prod-turtle2-WS has a
> token called "PASSED TOKENS" which defines comments in Turtle, but it cannot
> be reached from the root "turtleDoc".
> It should be included in the <WS> token definition, I guess.
>

I interpret that to mean that comments are recognized as tokens, but skipped
by the lexer (i.e. not passed to the parser).  Of course that assumes an
implementation that splits recognition into lexing and parsing stages -- I'm
not aware of other types of recognizers but that doesn't mean they aren't
out there.

-Alex



> --
> Antoine Zimmermann
> Researcher at:
> Laboratoire d'InfoRmatique en Image et Systèmes d'information
> Database Group
> 7 Avenue Jean Capelle
> 69621 Villeurbanne Cedex
> France
> Lecturer at:
> Institut National des Sciences Appliquées de Lyon
> 20 Avenue Albert Einstein
> 69621 Villeurbanne Cedex
> France
> antoine.zimmermann@insa-lyon.fr
> http://zimmer.aprilfoolsreview.com/
>
>
Received on Tuesday, 8 March 2011 17:58:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:03 UTC