From 5b5c9770337e3f3e042f3cfe8a3e0edd6109c548 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 10 Jul 2015 21:45:26 -0700 Subject: 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. --- ChangeLog | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index d74f5226..a32c860b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2015-07-10 Kaz Kylheku + + 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 Handle setting of parse name through prime_parser. -- cgit v1.2.3