[R6RS] Making -> a valid identifier
Michael Sperber
sperber at informatik.uni-tuebingen.de
Fri Apr 7 11:07:13 EDT 2006
Trying to revive this ...
My best shot so far is:
<peculiar identifier> -> + | - | ... | <strange identifier>
<strange initial> -> - | . | +
<strange identifier> -> <strange initial> <subsequent>*
... but excluding everything in <number>
(This also tries to satisfy Kent's request of allowing identifiers
starting with + or .)
The exclusion should still keep things indirectly regular, but with a
practical implementation path.
Alternatively, here's a more direct approach:
<strange identifier> -> <strange initial> <strange subsequent> <subsequent>*
<strange subsequent> -> <constituent, without i and n>
| <special initial>
| <special subsequent>
<constituent> -> <what SRFI 75 says replaces <letter> >
... but excluding just i and n seem really arbitrary and confusing.
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
More information about the R6RS
mailing list