[SCL] Re: SCL syntax
Murray Altheim
m.altheim at open.ac.uk
Tue Mar 2 17:50:50 CST 2004
Mark Stickel wrote:
[...]
> As Lisp does, and unlike previous versions of SCL syntax,
> tokens like "123ABC" are now legal namesequences. I'm okay with
> this (and it is general), but some may prefer that
> namesequences not start with digits.
The syntax for token definition should perhaps be influenced
by the potential for transformation into other syntax variants.
So while SCL might allow "@x" or "123ABC" as a token, neither
of these would be allowed values as XML Names, which must begin
with an alpha character. Now, XML Names are a restricted class
of tokens within XML, but using them means that a lot of existing
machinery comes available (such as the uniqueness of the ID
namespace within XML which allows HTML/XHTML link anchors to
function).
I'm not saying that all concrete syntaxes of SCL must comply with
the XML Name constraint, but there would be distinct benefits if
they did.
Murray
......................................................................
Murray Altheim http://kmi.open.ac.uk/people/murray/
Knowledge Media Institute
The Open University, Milton Keynes, Bucks, MK7 6AA, UK .
"Ours is a dangerous time with two relatively new threats,
both of them exacerbated by the Iraq invasion and this
administration's policies. One is the threat of future
terrorism by Osama and al Qaeda. The other is the threat
to our freedoms and our constitutional republic. These
are dangers that were never faced before in my lifetime."
-- Daniel Ellsberg
http://www.sfgate.com/cgi-bin/article.cgi?file=/chronicle/archive/2004/02/29/CMG3R50LHE5.DTL
More information about the SCL
mailing list