Common Lisp Package: CURLY

README:

FUNCTION

Public

CURLY-READER (STREAM CHAR &AUX (FUNS (READ-DELIMITED-LIST } STREAM T)))

Reader macro for #{ character.

MAKE-CURLY-READTABLE (&OPTIONAL (ORIGINAL-READTABLE *READTABLE*) &AUX (RV (COPY-READTABLE ORIGINAL-READTABLE)))

Return new readtable with curly syntax enabled.

SQUARE-READER (STREAM CHAR &AUX (FUNS (READ-DELIMITED-LIST ] STREAM T)))

Reader macro for #[ character.

Private

Undocumented

CURLYLIST (ITEM REST)

MACRO

Public

DISABLE-CURLY-SYNTAX

Disable curly syntax for current file. Warning: Calling DISABLE-CURLY-SYNTAX when curly syntax is not enabled can give funny results. Also, reading multiple files using ENABLE-CURLY-SYNTAX and DISABLE-CURLY-SYNTAX in different threads can invoke a disaster. ENABLE-CURLY-SYNTAX itself is safe.

ENABLE-CURLY-SYNTAX

Enable curly syntax for current file.

VARIABLE

Public

*BLANK-ARGUMENT*

Symbol used to indicate argument place in curly syntax.

Private

*ORIGINAL-READTABLE*

Original readtable to restore, used by ENABLE/DISABLE-CURLY-SYNTAX.