Reader macros are also defined for the following:
Additional reader macros
#,
#Y
FUNCTION
objects and input STREAM
's EXT:ENCODING
s
#""
PATHNAME
: #"test.lisp"
is the value of (PATHNAME
"test.lisp")
#\Code allows input of characters of arbitrary code:
e.g., #\Code231 reads as the character
(
.CODE-CHAR
231)
This is the list of objects whose external representation cannot be meaningfully read in:
Unreadable objects
#<type
...>
STRUCTURE-OBJECT
s lacking a keyword
constructor#<ARRAY type
dimensions
>
ARRAY
s except STRING
s, if
*PRINT-ARRAY*
is NIL
#<SYSTEM-FUNCTION name
>
#<ADD-ON-SYSTEM-FUNCTION
name
>
#<SPECIAL-OPERATOR
name
>
#<COMPILED-FUNCTION
name
>
CUSTOM:*PRINT-CLOSURE*
is NIL
#<FUNCTION name
...>
CUSTOM:*PRINT-CLOSURE*
is NIL
#<FRAME-POINTER #x...>
#<DISABLED POINTER>
BLOCK
or TAGBODY
#<...STREAM...>
STREAM
#<PACKAGE name
>
PACKAGE
#<HASH-TABLE #x...>
HASH-TABLE
, if *PRINT-ARRAY*
is NIL
#<READTABLE #x...>
READTABLE
#<SYMBOL-MACRO form
>
SYMBOL-MACRO
handler#<MACRO function
>
DEFMACRO
and friends)
#<FFI:FOREIGN-POINTER
#x...>
#<FFI:FOREIGN-ADDRESS
#x...>
#<FFI:FOREIGN-VARIABLE
name
#x...>
#<FFI:FOREIGN-FUNCTION
name
#x...>
#<UNBOUND>
#<SPECIAL REFERENCE>
SPECIAL
#<DOT>
READ
result for “.”
#<END OF FILE>
READ
result, when the end-of-stream
is reached
#<READ-LABEL ...>
READ
result for #n#
#<ADDRESS #x...>
#<SYSTEM-POINTER #x...>
These notes document CLISP version 2.49.93+ | Last modified: 2018-02-19 |