#!+sb-doc
"A READTABLE is a data structure that maps characters into syntax
types for the Common Lisp expression reader."
- ;; The CHARACTER-ATTRIBUTE-TABLE is a vector of CHAR-CODE-LIMIT
+ ;; The CHARACTER-ATTRIBUTE-TABLE is a vector of BASE-CHAR-CODE-LIMIT
;; integers for describing the character type. Conceptually, there
;; are 4 distinct "primary" character attributes:
;; +CHAR-ATTR-WHITESPACE+, +CHAR-ATTR-TERMINATING-MACRO+,
:initial-element +char-attr-constituent+)
:type attribute-table)
(character-attribute-hash-table (make-hash-table) :type hash-table)
- ;; The CHARACTER-MACRO-TABLE is a vector of CHAR-CODE-LIMIT
+ ;; The CHARACTER-MACRO-TABLE is a vector of BASE-CHAR-CODE-LIMIT
;; functions. One of these functions called with appropriate
;; arguments whenever any non-WHITESPACE character is encountered
;; inside READ-PRESERVING-WHITESPACE. These functions are used to
(make-array base-char-code-limit :initial-element #'undefined-macro-char)
:type (simple-vector #.base-char-code-limit))
(character-macro-hash-table (make-hash-table) :type hash-table)
- ;; an alist from dispatch characters to vectors of CHAR-CODE-LIMIT
- ;; functions, for use in defining dispatching macros (like #-macro)
+ ;; an alist from dispatch characters to hash-tables akin to
+ ;; CHARACTER-MACRO-HASH-TABLE.
(dispatch-tables () :type list)
- (readtable-case :upcase :type (member :upcase :downcase :preserve :invert)))
+ (%readtable-case :upcase :type (member :upcase :downcase :preserve :invert)))