Re: Turtle language & version indicator?

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.
http://dbooth.org/

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