]> Lady’s Gitweb - Shushe/commitdiff
Improve (fix) the T·S·V parser
authorLady <redacted>
Mon, 1 Apr 2024 20:45:42 +0000 (16:45 -0400)
committerLady <redacted>
Mon, 1 Apr 2024 20:45:42 +0000 (16:45 -0400)
Although `exslstr:tokenize()` is fast, it should not be used when
splitting the columns of a T·S·V file, as it will collapse empty
columns. Introduce a new transform in `lib/` for splitting, and import
it into the T·S·V parser.

This transform was largely copied from Caudex
<https://git.ladys.computer/Caudex/blob/0.1.1:/lib/split.xslt> and is
likely to be useful downstream as well.

Continue using `exslstr:tokenize()` for splitting the _rows_ of the
T·S·V, as empty rows _should_ be collapsed.


No differences found
This page took 0.025171 seconds and 4 git commands to generate.