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

Readtables and prin1



    Date: Wed, 17 Sep 1986  21:07 EDT
    From: "Scott E. Fahlman" <Fahlman@C.CS.CMU.EDU>


    I think that the usual practice is to print things out so that they can
    be read in using the standard readtable.  It would be VERY difficult to
    write code that can print out text for any user-modified readtable,
    especially if the read-table contains macros.

    -- Scott

Gee, that's the way Interlisp has always done it.  In Interlisp, all
print operations accept a readtable as an optional argument, which
determines how things are printed.   All you have to do is pre-process
the readtable so you know which characters need to be slashified.