summaryrefslogtreecommitdiffstats
path: root/match.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-01-04 22:31:03 -0800
committerKaz Kylheku <kaz@kylheku.com>2017-01-04 22:31:03 -0800
commiteaebe42f734d31e1f1c44802ad315f004c126ddc (patch)
treed154f2f9ff30048944d88b53fbc3eea0b7622155 /match.h
parent65f31ed7d51a9b0dd79ec9c30355fb2f3929fe49 (diff)
downloadtxr-eaebe42f734d31e1f1c44802ad315f004c126ddc.tar.gz
txr-eaebe42f734d31e1f1c44802ad315f004c126ddc.tar.bz2
txr-eaebe42f734d31e1f1c44802ad315f004c126ddc.zip
New Lisp feature: param list expander.
* eval.c (pm_table): New static variable. (expand_param_macro): New static function. (expand_params): Expand parameter list macros via expand_param_macro. (eval_init): gc-protect pm_table and initialize it. Register *param-macro* variable. * lisplib.v (pmac_set_entries, pmac_instantiate): New static functions. (lisplib_init): Register autoloading of pmac.tl via new functions. * share/txr/stdlib/pmac.tl: New file. * txr.1: Notes under defun, lambds, flet/labels and defmacro about the existence of parameter macros which add to the syntax. New Parameter List Macros section. Documented *param-macro* and define-param-expander.
Diffstat (limited to 'match.h')
0 files changed, 0 insertions, 0 deletions