summaryrefslogtreecommitdiffstats
path: root/strudel.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-06-11 07:46:11 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-06-11 07:46:11 -0700
commit2c72da160c2f43828316c262855c92e638872a70 (patch)
tree99f6815576b25ad7931fa40d95f2fd0de87e1d37 /strudel.c
parent607a764714e1d0391c663146a0c4701c19e15e35 (diff)
downloadtxr-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