summaryrefslogtreecommitdiffstats
path: root/stdlib/compiler.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-05-24 06:48:18 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-05-24 06:48:18 -0700
commitdf357a69d04b2d287ba8d9d9f3642f0f445b70f4 (patch)
treef25ac7d6f3493f63b34d878e68ca3494732c0839 /stdlib/compiler.tl
parent0eebd7f1bda750be74d5bcf4c5d8457c2b5daf8d (diff)
downloadtxr-df357a69d04b2d287ba8d9d9f3642f0f445b70f4.tar.gz
txr-df357a69d04b2d287ba8d9d9f3642f0f445b70f4.tar.bz2
txr-df357a69d04b2d287ba8d9d9f3642f0f445b70f4.zip
awk: widen scope of redirection macros.
This change makes it possible to use the redirection macros like -> and ->> everywhere in the awk macro, including the init-forms of the :let clause. * stdlib/awk.tl (sys:awk-mac-let-outer): New macro. (sys:awk-mac-let): Move redirection macros into awk-mac-let-outer. (awk): Rearrange the order of wrapping. We split the let so the awk-retval and aws-sym are bound outermost. Then we have the outer macros that provide the redirection operators. Then the application-defined lets inside of that. * txr.1: Documented wide scope of redirection macros.
Diffstat (limited to 'stdlib/compiler.tl')
0 files changed, 0 insertions, 0 deletions