]> Lady’s Gitweb - Shushe/commit
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)
commit872c70923f2c19e4c9abad7ea1c2f5be1ffd3e65
tree9e8efa827e1b8193f43d764677ee2cb9a0d66573
parentf5f0fe051ba87bf53467803037f2cb210e9b47b2
Improve (fix) the T·S·V parser

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.
lib/split.xslt [new file with mode: 0644]
parsers/tsv.xslt
This page took 0.025293 seconds and 4 git commands to generate.