diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-07-22 07:42:13 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-07-22 07:42:13 -0700 |
commit | fb8a30d4540d04b02f98e7895cdb02d5c7f6c2e6 (patch) | |
tree | 31ec91d7811979add1817bdfe829bcc139d609b9 /lib.c | |
parent | 9d2a3e3ba7e75d200ee1d9ece7c2accd7451a960 (diff) | |
download | txr-fb8a30d4540d04b02f98e7895cdb02d5c7f6c2e6.tar.gz txr-fb8a30d4540d04b02f98e7895cdb02d5c7f6c2e6.tar.bz2 txr-fb8a30d4540d04b02f98e7895cdb02d5c7f6c2e6.zip |
* lisplib.c (place_set_entries): Add *place-macro* and
define-place-macro to list of names.
* share/txr/stdlib/place.tl (*place-macro*): New global hash.
(sys:tigger-load, sys:pl-expand): New functions.
(call-update-expander, call-clobber-expander, call-delete-expander):
Recognize and expand place macros.
(define-place-macro): New macro.
(first, rest): Places redefined using define-place-macro, replacing
the old hack of copying the expanders from one table entry to another.
* txr.1: Documented place macros.
Diffstat (limited to 'lib.c')
0 files changed, 0 insertions, 0 deletions