Comments on draft #3 Wolfgang Corcoran-Mathe 01 Jul 2026 17:21 UTC

Peter,

I was able to build a patched ChezScheme which correctly interpreted
all of your examples.  The randomized tests usually failed at some
point with the error:

> Exception in read: invalid number syntax #e#x at char 0 of
> #<input port string>

Presumably the test generator is producing bogus numbers from time to
time.

A few small editorial issues:

# Rationale

* "This SRFI proposes hexadecimal floating point constants in a similar
way to C's syntax." Clearer: "This SRFI proposes a syntax similar to
C's for hexadecimal floating point constants."

* "The character p is an exponent, which raises the number to a
specified power of 2."  The number following the marker 'p' is the
exponent.

* "Unlike [in] C's syntax"

# Syntax

* "... because in the formal grammar, #x is required ..."  Delete
the comma, or add another comma after "because" to make "in the formal
grammar" a parenthetical expression.

# Procedures

* "If the number is complex, then each component must be printed with
the above rules."  Strongify "must".

That's all I've got for now.  Nice work all around.

--
Wolfgang Corcoran-Mathe  <xxxxxx@sigwinch.xyz>