diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-06-11 07:46:11 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-06-11 07:46:11 -0700 |
commit | 2c72da160c2f43828316c262855c92e638872a70 (patch) | |
tree | 99f6815576b25ad7931fa40d95f2fd0de87e1d37 /strudel.c | |
parent | 607a764714e1d0391c663146a0c4701c19e15e35 (diff) | |
download | txr-2c72da160c2f43828316c262855c92e638872a70.tar.gz txr-2c72da160c2f43828316c262855c92e638872a70.tar.bz2 txr-2c72da160c2f43828316c262855c92e638872a70.zip |
pic: support quasiliteral as format string.
* share/txr/stdlib/pic.tl (pic): Refactor string compilation
code into local function which has access to the overall
argument list. Recognize the quasiliteral case and translate
by compiling all the string parts, then forming a recombined
quasiliteral where the compiled parts are substituted.
* tests/018/format.tl: test case for this.
* txr.1: Documented.
Diffstat (limited to 'strudel.c')
0 files changed, 0 insertions, 0 deletions