read

Function summary
get-char-from-unicode-name
get-number &key (radix 10) max
inner-reader regex-mode extended-mode quote-mode case-mode
interpol-reader *stream* char arg
never-name-char-p c
normal-name-char-p c
read-form
read-longest-name
read-optional-delimited
read-while predicate &key max
resolve-unicode-name name
unescape-char regex-mode
%disable-interpol-syntax
%enable-interpol-syntax
Macro summary
disable-interpol-syntax
enable-interpol-syntax
quell-warnings-form    [Variable]

A declaration form to quiet warnings about unbound variables within a lexical environment.

read-while   predicate &key max  [Function]

Reads characters from *STREAM* while PREDICATE returns a true value for each character. Returns at most MAX characters if MAX is true.

get-number   &key (radix 10) max  [Function]

Reads and consumes the number *STREAM* is currently looking at and returns it. Returns NIL if no number could be identified. RADIX is used as in PARSE-INTEGER. If MAX is not NIL we'll read at most the next MAX characters.

resolve-unicode-name   name  [Function]

Tries to return a character which was encoded as \N<NAME>.

get-char-from-unicode-name    [Function]

Parses and returns a named character after "\N" has already been read. This function reads from *STREAM*.

unescape-char   regex-mode  [Function]

Convert the characters(s) on *STREAM* following a backslash into a character which is returned. This function is to be called when the backslash has already been consumed.

normal-name-char-p   c  [Function]
never-name-char-p   c  [Function]
read-longest-name    [Function]
read-optional-delimited    [Function]

Read the stuff following an optional delimiter, returning a form that tries to deal correctly with lexical variables.

read-form    [Function]

Reads and returns one or more Lisp forms from *STREAM* if the character we're looking at is a valid inner delimiter. Otherwise returns NIL.

interpol-reader   *stream* char arg  [Function]

The actual reader function for the 'sub-character' #?.

inner-reader   regex-mode extended-mode quote-mode case-mode  [Function]

Helper function for INTERPOL-READER which does all the work. May call itself recursively.

%enable-interpol-syntax    [Function]

Internal function used to enable reader syntax and store current readtable on stack.

%disable-interpol-syntax    [Function]

Internal function used to restore previous readtable.

enable-interpol-syntax    [Macro]

Enable CL-INTERPOL reader syntax.

disable-interpol-syntax    [Macro]

Restore readtable which was active before last call to ENABLE-INTERPOL-SYNTAX. If there was no such call, the standard readtable is used.