diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2025-01-21 07:33:39 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2025-01-21 07:33:39 -0800 |
commit | 09dca7b4aabbb22b6febbc5ec1f328abc2fc6a86 (patch) | |
tree | 844f362061aadb111cf6e3f0d51cdd4a6dc354c2 /stdlib/load-args.tl | |
parent | 6824735d879f42572778b40c323828f533b87248 (diff) | |
download | txr-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