Error in formal grammar of R7RS small

6 views
Skip to first unread message

Daphne Preston-Kendal

unread,
Jan 19, 2022, 3:50:38 PMJan 19
to scheme-re...@googlegroups.com
Section 6.2.5 of R7RS small allows the specifiers s, f, d, and l to be used to specify the precision of an inexact number. However, these specifiers are apparently not present in the formal grammar given in section 7.1.1.


Daphne

John Cowan

unread,
Jan 20, 2022, 3:45:51 PMJan 20
to scheme-re...@googlegroups.com
On Wed, Jan 19, 2022 at 3:50 PM Daphne Preston-Kendal <d...@nonceword.org> wrote:

Section 6.2.5 of R7RS small allows the specifiers s, f, d, and l to be used to specify the precision of an inexact number.

It says that implementations "may accept" alternative prefixes, so that it is truly optional to support them or not; therefore, they are not mentioned in the formal grammar.
Reply all
Reply to author
Forward
0 new messages