summaryrefslogtreecommitdiffstats
path: root/struct.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-11-19 18:36:18 -0800
committerKaz Kylheku <kaz@kylheku.com>2016-11-19 18:36:18 -0800
commitaacf701d451639f393d964e7bd60e18d24a7f68d (patch)
tree16a00d2efb6fe171fdcdb81ddbd32edde2bba763 /struct.h
parent72c88930b62b9bc64804048b9759bc7ed95cd789 (diff)
downloadtxr-aacf701d451639f393d964e7bd60e18d24a7f68d.tar.gz
txr-aacf701d451639f393d964e7bd60e18d24a7f68d.tar.bz2
txr-aacf701d451639f393d964e7bd60e18d24a7f68d.zip
Allow global macros to be denoted by (macro sym).
In this patch we allow (symbol-function '(macro sym)), (defun (macro sym) (form env) ...), and (trace (macro sym)). * eval.c (macro_s): New symbol variable. (lookup_fun, func_get_name, op_defun): Support (macro sym) syntax. (builtin_reject_test): Pass through (macro sym) syntax. (eval_init); Initialize macro_s. * share/txr/stdlib/place.tl (sys:get-fun-getter-setter): Support macro place. * txr.1: Documented verything.
Diffstat (limited to 'struct.h')
0 files changed, 0 insertions, 0 deletions