home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
RiscOS
/
APP
/
DEVS
/
LISP
/
CLISP.ZIP
/
CLisp
/
lsp
/
sendmacr
< prev
next >
Wrap
Text File
|
1992-10-02
|
354b
|
16 lines
(setf (aref *readtable* (char-int #\[))
(cons :tmacro
(lambda (f c &aux ex)
(do ()
((eq (peek-char t f) #\]))
(setf ex (append ex (list (read f)))))
(read-char f)
(cons (cons 'send ex) nil))))
(setf (aref *readtable* (char-int #\]))
(cons :tmacro
(lambda (f c)
(error "misplaced right bracket"))))