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

read-tables



Linking read-tables to streams seems like a good idea, but I'm confused.
What do I write in a file that defines a readmacro?  Do I write

      (SET (READ-TABLE-ENTRY *THE-USER-READ-TABLE* ...) ...)

or

      (SET *MY-READ-TABLE* (MAKE-STANDARD-READ-TABLE))
      (SET (READ-TABLE-ENTRY *MY-READ-TABLE* ...) ...)

or

      (HERALD MYFILE
              (READ-TABLE *MY-READ-TABLE*))
      (SET (READ-TABLE-ENTRY *MY-READ-TABLE* ...) ...)

or what????  In all but the first case, how does the user to get access to
the readmacro being defined, by knowing about *MY-READ-TABLE*?  Won't
there be a need for a JOIN-READ-TABLE procedure to merge separate
read-tables the way JOIN merges objects?
-------