W3C home > Mailing lists > Public > www-archive@w3.org > July 2002

Re: Minus sign in ids Was: Alternative N3 Parsers for CWM

From: Seth Russell <seth@robustai.net>
Date: Mon, 15 Jul 2002 08:51:59 -0700
Message-ID: <004201c22c17$8eb51fe0$657ba8c0@c1457248a.sttls1.wa.home.com>
To: "Tim Berners-Lee" <timbl@w3.org>, "Aaron Swartz" <me@aaronsw.com>
Cc: "Sean B. Palmer" <sean@mysterylights.com>, <www-archive+n3bugs@w3.org>, "Dan Connolly" <connolly@w3.org>

From: "Aaron Swartz" <me@aaronsw.com>

>
> On Monday, July 15, 2002, at 10:03  AM, Tim Berners-Lee wrote:
> > Hmmmm...   Are you  *sure* you don't want to be able to write "x-1"?
> >
> > { y > x+1} => x a foo:Interesting}.
> >
> > Note that currently   x-1  as an XML name becomes x__1 in n3 .
>
> I'd be willing to write  "x + 1" or "[x + 1]" or something instead so I
> could use ical:WHEN-DATE without name mangling.

Then how would you say that "x + 1" means the sum of x and one ?  We still
can't (dont't want to) use quoted literals as subjects in n3, can we (do we
want to)?

{{y > xPlus1 } => {x a foo:Interesting} } (works for) me.

Or alternatively maybe we *should* allow + and - to appear in names:

{{y > x+1. x+1 sumOf  (x, 1)  } => {x a foo:Interesting} }

Seth Russell
Received on Monday, 15 July 2002 11:58:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:42:08 UTC