diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-10-24 23:35:48 -0400 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-10-24 23:35:48 -0400 |
commit | 77b9c8f289df7b0ba45668e09cdc040252c681c8 (patch) | |
tree | d1d6df2cd1ed2ad82a9aa845cda6c4243f01ce99 /ChangeLog | |
parent | 23a6fd5129b285d25faa8198e395ac91db0348c4 (diff) | |
download | txr-77b9c8f289df7b0ba45668e09cdc040252c681c8.tar.gz txr-77b9c8f289df7b0ba45668e09cdc040252c681c8.tar.bz2 txr-77b9c8f289df7b0ba45668e09cdc040252c681c8.zip |
* filter.c (function_filter): New function.
(get_filter): Handle (fun ...) syntax.
* match.c (v_bind): Establish dynamic environment frame around
dest_bind, and stash the bindings there so filters can have access
to the bindings.
(v_output): Likewise, around do_output calls.
(v_fun): New function.
(match_files): Function handling broken out into v_fun.
(match_funcall): New function.
* match.h (match_funcall): Declared.
* unwind.c (uw_push_env): Initialize match_context.
(uw_get_match_context, uw_set_match_context): New functions.
* unwind.h (struct uw_dynamic_env): New member, match_context.
(uw_get_match_context, uw_set_match_context): Declared.
* txr.1: Documented function filters.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -1,5 +1,28 @@ 2011-10-24 Kaz Kylheku <kaz@kylheku.com> + * filter.c (function_filter): New function. + (get_filter): Handle (fun ...) syntax. + + * match.c (v_bind): Establish dynamic environment frame around + dest_bind, and stash the bindings there so filters can have access + to the bindings. + (v_output): Likewise, around do_output calls. + (v_fun): New function. + (match_files): Function handling broken out into v_fun. + (match_funcall): New function. + + * match.h (match_funcall): Declared. + + * unwind.c (uw_push_env): Initialize match_context. + (uw_get_match_context, uw_set_match_context): New functions. + + * unwind.h (struct uw_dynamic_env): New member, match_context. + (uw_get_match_context, uw_set_match_context): Declared. + + * txr.1: Documented function filters. + +2011-10-24 Kaz Kylheku <kaz@kylheku.com> + Turning attention to some plumbing. * unwind.c (uw_env_stack): New static variable. |