diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-07-10 21:45:26 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-07-10 21:45:26 -0700 |
commit | 5b5c9770337e3f3e042f3cfe8a3e0edd6109c548 (patch) | |
tree | 05fb45d7d0f9fad1b431631d9f8475b60584abb1 /ChangeLog | |
parent | 0c15b355ad3a62e13e27d752047b4566da97153f (diff) | |
download | txr-5b5c9770337e3f3e042f3cfe8a3e0edd6109c548.tar.gz txr-5b5c9770337e3f3e042f3cfe8a3e0edd6109c548.tar.bz2 txr-5b5c9770337e3f3e042f3cfe8a3e0edd6109c548.zip |
New placelet macro.
* lisplib.c (place_set_entries): Add placelet to list of names.
* share/txr/stdlib/place.tl (sys:placelet1, placelet): New macros.
(defplace dwim): Do not retrieve the
place's value into a local variable and have the getter
expand to that variable. Rather, have the getter retrieve the
value. A getter that refers to a cached copy breaks
the semantics of placelet, and any place operator which can
evaluate the location after it is stored.
* txr.1: Documented placelet.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1,5 +1,21 @@ 2015-07-10 Kaz Kylheku <kaz@kylheku.com> + New placelet macro. + + * lisplib.c (place_set_entries): Add placelet to list of names. + + * share/txr/stdlib/place.tl (sys:placelet1, placelet): New macros. + (defplace dwim): Do not retrieve the + place's value into a local variable and have the getter + expand to that variable. Rather, have the getter retrieve the + value. A getter that refers to a cached copy breaks + the semantics of placelet, and any place operator which can + evaluate the location after it is stored. + + * txr.1: Documented placelet. + +2015-07-10 Kaz Kylheku <kaz@kylheku.com> + Handle setting of parse name through prime_parser. * parser.c (prime_parser): Take name as argument, |