summaryrefslogtreecommitdiffstats
path: root/mpi
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-08-28 06:44:21 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-08-28 06:44:21 -0700
commit89752b07ce3695fa4302b5db3788fed7b51873d5 (patch)
tree2e93e716ad830ea49a8f85ac582b77338975500e /mpi
parent1f7a1d489ebfd6b3ef784005b2a52b327979fc58 (diff)
downloadtxr-89752b07ce3695fa4302b5db3788fed7b51873d5.tar.gz
txr-89752b07ce3695fa4302b5db3788fed7b51873d5.tar.bz2
txr-89752b07ce3695fa4302b5db3788fed7b51873d5.zip
expander: do dot-to-apply for meta-expressions.
The dot-to-apply transformation is now applied when meta-expressions like @foo and @(bar) apparently occur in the dot position. This change is made in anticipation of a rewrite of the op macro, in which the @1, @2, and @rest arguments will be implemented as macrolets, rather than the ad-hoc, hacky code walk currently performed in the transform_op function. * eval.c (dot_meta_list_p): New static function. (dot_to_apply): Detect the presence of a sys:var or sys:expr argument in a form. If found, then turn it and the remaining forms into a single compound form which replaces them. * txr.1: Update doc under Dot Position in Function Calls.
Diffstat (limited to 'mpi')
0 files changed, 0 insertions, 0 deletions