aboutsummaryrefslogtreecommitdiff
path: root/macros.lisp
diff options
context:
space:
mode:
authorColin Okay <okay@toyful.space>2022-02-03 08:27:04 -0600
committerColin Okay <okay@toyful.space>2022-02-03 08:27:04 -0600
commitb26d274c67d8dd52111ba769a4dd8118bbdd0234 (patch)
tree24b722681ecce2e5eb3c70f9c2956f923787eadd /macros.lisp
parentfac66522b7b05d2e520da18d187ab3128c2c1a9a (diff)
pared the library down to just the reader macro and nesting macro
Diffstat (limited to 'macros.lisp')
-rw-r--r--macros.lisp16
1 files changed, 2 insertions, 14 deletions
diff --git a/macros.lisp b/macros.lisp
index cad9e6e..b9d728b 100644
--- a/macros.lisp
+++ b/macros.lisp
@@ -17,7 +17,7 @@
(elt (symbol-name symbol) (length prefix)))))
- (set-dispatch-macro-character
+ (set-macro-character
#\# #\$
(lambda (stream subchar infix)
(declare (ignore subchar infix))
@@ -26,19 +26,7 @@
(list '$ (list (concatenate 'string "$"
(symbol-name form1)))
(read stream))
- (list '$ () form1)))))
-
- (set-dispatch-macro-character
- #\# #\~
- (lambda (stream subchar arg)
- (declare (ignore arg subchar))
- (list 'make-lazy (read stream))))
-
- (set-dispatch-macro-character
- #\# #\!
- (lambda (stream subchar arg)
- (declare (ignore arg subchar))
- (list 'funcall (read stream)))))
+ (list '$ () form1))))))
;; Note, presently references to upper level variables in nested
;; partials requires tha tthose upper level variables acttually appear