summaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-09-28 23:34:42 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-09-28 23:34:42 -0700
commit7e2327cd393cb1ada82ff2b80dcff73a05d98f80 (patch)
treed7906dd012895b40f087e997aa45b62475514881 /gc.c
parent70dca98f3500158716f49d5281d55769a44f7f67 (diff)
downloadtxr-7e2327cd393cb1ada82ff2b80dcff73a05d98f80.tar.gz
txr-7e2327cd393cb1ada82ff2b80dcff73a05d98f80.tar.bz2
txr-7e2327cd393cb1ada82ff2b80dcff73a05d98f80.zip
tree: allow quasiquoting into #T syntax.
* eval.c (tree_lit_s, tree_construct_s): New symbol variables. (expand_qquote_rec): Handle sys:tree-lit syntax generated by quasi-quoted #T notaton by expanding and converting to sys:tree-constuct call. (eval_init): Initialize tree_lit_s and tree_construct_s. * eval.h (tree_lit_s, tree_construct_s): Declared. * parser.y (tree): Produce sys:tree-lit syntax when #T is quasi-quoted, and unquotes occur inside it. * tree.c (tree_construct_fname, tree_construct): New static functions. (tree_init): Register sys:tree-construct intrinsic function.
Diffstat (limited to 'gc.c')
0 files changed, 0 insertions, 0 deletions