summaryrefslogtreecommitdiffstats
path: root/stdlib/load-args.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2025-01-21 07:33:39 -0800
committerKaz Kylheku <kaz@kylheku.com>2025-01-21 07:33:39 -0800
commit09dca7b4aabbb22b6febbc5ec1f328abc2fc6a86 (patch)
tree844f362061aadb111cf6e3f0d51cdd4a6dc354c2 /stdlib/load-args.tl
parent6824735d879f42572778b40c323828f533b87248 (diff)
downloadtxr-09dca7b4aabbb22b6febbc5ec1f328abc2fc6a86.tar.gz
txr-09dca7b4aabbb22b6febbc5ec1f328abc2fc6a86.tar.bz2
txr-09dca7b4aabbb22b6febbc5ec1f328abc2fc6a86.zip
get-csv: simplify implementation by CR-LF folding.
* stdlib/csv.tl (get-csv): Pre-process the input by a small state machine that maps CR-LF sequences to LF. Then we don't have to recognize #\return anywhere in the state machine and can delete the cr and qcr states, as well as all the code recognizing #\return and branching to those states.
Diffstat (limited to 'stdlib/load-args.tl')
0 files changed, 0 insertions, 0 deletions