W3C home > Mailing lists > Public > public-cwm-talk@w3.org > April to June 2006

RE: N3 and Turtle grammars

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Tue, 20 Jun 2006 09:56:43 +0100
Message-ID: <DF5E364A470421429AE6DC96979A4F6FAFF698@sdcexc04.emea.cpqcorp.net>
To: "Dan Connolly" <connolly@w3.org>
Cc: <public-cwm-talk@w3.org>

-------- Original Message --------
> From: Dan Connolly <mailto:connolly@w3.org>
> Date: 20 June 2006 06:03
> On Mon, 2006-06-19 at 16:12 +0100, Seaborne, Andy wrote:
> [...]
> > My current development Turtle grammar is attached
> It refers to ARROW but doesn't define it, as far as I can tell.

Yep - and formula. It's supposed to be a combined Turtle/N3 parser
although it hasn't very much of N3 added yet.  There maybe some other
stray tokens as well as it is hacked out of SPARQL originally.

I haven't decided yet whether to have one master file, but produce two
grammars (by running cpp over the master file before running javacc [*])
or whether to have one master grammar and catch the non-Turtle-isms by
having hooks in the grammar to check a "Turtle only" flag.  It looks to
be all about getting the better error messages.


[*] That is the way the ARQ syntax extensions work for SPARQL.

> --
> Dan Connolly, W3C http://www.w3.org/People/Connolly/
> D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Tuesday, 20 June 2006 08:56:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:01:05 UTC