W3C home > Mailing lists > Public > public-rif-wg@w3.org > March 2009

Presentation Syntax

From: Sandro Hawke <sandro@w3.org>
Date: Tue, 10 Mar 2009 13:51:47 -0400
To: public-rif-wg@w3.org
Message-ID: <29129.1236707507@ubehebe>

Talking after the call today, Axel made a good case for adopting the
other solution to the infix-operators problem, namely to pay attention
to whether there is a space between the "f" and the "(" in "f(x)".  So
"f (x)" is two terms, and "f(x)" is one term.  This is my own
preference, and what I implemented before the task force telecon (where
I got talked out of it).  One of Axel's considerations is alignment with
SPARQL and other RDF-related languages, in user training materials.  If
we go with this kind of space-sensitivity, then we can have both the
F-Logic and N3 styles available for expressing triples, so you can write
your exampes in either one.  And you can use commas if you want, but you
can also leave them out.  This means my parser should be able to handle
all the existing examples and test cases... a pretty big win, really.
The one thing people can't do is write "f (x)" when they mean "f(x)".

     -- Sandro
Received on Tuesday, 10 March 2009 17:51:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:34:03 GMT