[gambit-list] API to parse floats in Scheme
hendrik at topoi.pooq.com
Wed May 12 18:30:33 EDT 2021
On Thu, May 13, 2021 at 01:24:17AM +0300, Lassi Kortela wrote:
> Supporting underscores (and space, commas, etc.) for separators is certainly
> useful, and it simplifies a parser if it doesn't have remove the separators
> itself. Should we add a char or string argument for which separators to skip
> (#f to deny all separators), or add another procedure?
Commas are a minefield. Some languages use a comma as a decimal point
and a period as a mere separator.
And I seem to demember one programming language (I forget which one)
that used underscore as the 'e' for an exponent.
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
More information about the Gambit-list