Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | awk: new feature, res variable. | Kaz Kylheku | 2022-12-30 | 1 | -0/+8 |
The res variable captures the specific value of the condition expression, making it available to the action. * autoload.c (awk_set_entries): Intern the res symbol * stdlib/awk.tl (awk): Instead of generating the condition-action into a simple when, we use whenlet to also bind the res variable. * tests/015/awk-res.tl: New file. * txr.1: Documented. * stdlib/doc-syms.tl: Updated. |