W3C home > Mailing lists > Public > public-rdf-comments@w3.org > February 2012

Re: Turtle language & version indicator?

From: David Booth <david@dbooth.org>
Date: Sun, 26 Feb 2012 09:32:59 -0500
To: David Robillard <d@drobilla.net>
Cc: public-rdf-comments@w3.org
Message-ID: <1330266779.10438.20638.camel@dbooth-laptop>
On Sat, 2012-02-25 at 16:38 -0500, David Robillard wrote:
> On Fri, 2012-02-24 at 18:33 -0500, David Booth wrote:
> > I am wondering if turtle should have an optional language indicator, to
> > be self-identifying -- perhaps something like the following line at the
> > beginning of a turtle document:
> > 
> >   #! turtle
[ . . . ]
> #! is very loaded, I don't think we want to imply Turtle files are
> executable by the shell (do we?)

I was wondering about that as well, but couldn't come up with solid
arguments either way.  (Anyone got any?)  I guess one could argue that
the "#!" convention primarily indicates the language of the document,
and whether or not that language happens to be executable on some
systems is a separate consideration.   I could imagine an n3 file to be
considered as an executable, since it can contain rules.  The meaning
might be "evaluate me and run any embedded rules to completion" (like
"cwm --think").

David Booth, Ph.D.

Opinions expressed herein are those of the author and do not necessarily
reflect those of his employer.
Received on Sunday, 26 February 2012 14:33:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:59:30 UTC