[Scheme-reports] 7.1.1 lexical structure
Andy Wingo 19 May 2011 20:58 UTC
WHITESPACE is specified as SPACE OR NEWLINE. Should TAB be included?
LF? Some unicode category?
What is the deal with PECULIAR IDENTIFIER? Is +.+ useful for someone?
It seems an odd production, given that implementations are free to
extend the set of valid identifiers. The R5RS was clearer here.
I am bothered by the SYNTACTIC KEYWORD section. Whether or not
something is a keyword depends on scope; only sometimes does it only
depend on name.
Do people really use the #-is-a-placeholder-digit thing? Yuk! This
should be allowed (as any implementation extension would be) but not
required.
The INFINITY -> +nan.0 seems a bit sloppy, naming-wise.
Why call expressions COMMANDs when they are in PROGRAMs? "Expression"
entails the possibility of a side-effect, if that was the intention.
Also, DEFINITION -> (begin DEFINITION*); this does not allow
(begin (begin (define a 1) a))
Andy
--
http://wingolog.org/
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports