From 77b9c8f289df7b0ba45668e09cdc040252c681c8 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 24 Oct 2011 23:35:48 -0400 Subject: * 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. --- ChangeLog | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 21632067..f4d66b63 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,26 @@ +2011-10-24 Kaz Kylheku + + * 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 Turning attention to some plumbing. -- cgit v1.2.3