[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- To: INFO-LISPM at MIT-AI
- From: ALAN at MIT-AI (Alan Bawden)
- Date: Wed ,25 Jul 79 04:14:00 EDT
New function SET-SYNTAX-/#-MACRO-CHAR can be used to define
you own # macros! Example:
(SET-SYNTAX-/#-MACRO-CHAR #/!
'(LAMBDA (LIST-SO-FAR STREAM)
(LET ((A (READ STREAM)))
(LIST A A))))
defines a macro so that "(a #!b c)" reads in as (a (b b) c). This is exactly like
the already existing SET-SYNTAX-MACRO-CHAR which defines an ordinary macro character.
So now we can all experiment with # macros!