[asdf-devel] standard io syntax woes

Faré fahree at gmail.com
Thu Feb 21 20:00:01 UTC 2013


On Thu, Feb 21, 2013 at 2:08 PM, Raymond Toy <toy.raymond at gmail.com> wrote:
>>>>>> "Fare" == Far  <Far> writes:
>
>     Fare> For the record, checking on my machine today:
>     Fare> Implementations that make the standard readtable read-only:
>     Fare> allegro sbcl
>     Fare> Implementations that don't:
>     Fare> abcl ccl clisp cmucl ecl lispworks scl
>
> FWIW, on cmucl, *readtable* is a copy of the standard readtable.  The
> standard readtable isn't writable unless you go out of your way to
> access the magic standard readtable.
>
> So, it's perfectly valid to modify *readtable*.
>
> Or are you suggesting that *readtable* should be eq to the
> magic standard readtable?
>
> The same holds for *print-pprint-dispatch*---it's a copy of the
> standard dispatch table, not eq to it.
>
I am suggesting indeed that,
as per the CLHS for WITH-STANDARD-IO-SYNTAX and
the CLHS Glossary for standard reatable,
W-S-IO-S should bind *READTABLE* to the standard readtable,
and similarly for *PRINT-PPRINT-DISPATCH*.
And for the sake of sanity, said standard tables better be readonly.

—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org
To authorize all commercial relations between consenting adults.




More information about the asdf-devel mailing list