[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] r7rs-draft-6: identifiers looking as numbers



Daniel Villeneuve scripsit:

> The draft says: "An identifier is any sequence of letters, ... provided 
> that it does not have a prefix which is a valid number."

Remember that one of the targets of R7RS-small is embedded systems.
Disallowing identifiers like 1-in-7 means that small parsers can decide
whether they have a number as soon as it's complete.

Note that your users can write |1-in-7| if they care about portability,
and/or your implementation can simply allow such identifiers as an
extension.

-- 
John Cowan  cowan@x  http://ccil.org/~cowan
Linguistics is arguably the most hotly contested property in the academic
realm. It is soaked with the blood of poets, theologians, philosophers,
philologists, psychologists, biologists and neurologists, along with
whatever blood can be got out of grammarians. - Russ Rymer

_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports