Re: [Scheme-reports] Useless ambiguities in number specification, section 7.1.1 David A. Wheeler (20 Jan 2013 21:30 UTC)

Re: [Scheme-reports] Useless ambiguities in number specification, section 7.1.1 David A. Wheeler 20 Jan 2013 21:27 UTC

I wrote:
> > The syntactic specification for numbers in the Scheme R7RS draft 8
> > section 7.1.1 (lexical structure) has unnecessary useless ambiguities that
> > I think should be fixed.

Alex Shinn:
> Since once we get to the semantic interpretation of the
> numbers these two are the same, I don't think it matters.
>
> The formal syntax is primarily intended for human consumption,
> to clarify when the prose is not clear.  I'm not sure if any of the
> past versions had ever been fully parsable by a program.

It doesn't need to be directly executable, but
I think that it should be easy to implement the productions is a straightforward manner,
so that code can easily map to the specification.  In these cases, it's not hard
to tweak the specification to (1) have the same meaning but
(2) be easier to implement in an ambiguous way.

--- David A. Wheeler

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