[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] Padding/placeholders (hashes) in numerical syntax



On Mon, Sep 5, 2011 at 8:24 AM, John Cowan <cowan@x> wrote:
>
> I'm surprised that the reader doesn't use string->number
> or vice versa.

All of the heavy parsing is shared, but the interface
leaves room for differences, and this is unavoidable.
In order for read to use string->number, it must have
separate code for delimiting the string, whereas in
order for string->number to use read (which Chibi
does), it needs separate code paths for non-decimal
base arguments.

-- 
Alex

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