3 ms·
XSLT is great fun as a general functional programming language! You can build native functional data-structures[1], implement graph-traversal algorithms[2], and
by petesergeant 1y ago
XSLT is great fun as a general functional programming language! You can build native functional data-structures[1], implement graph-traversal algorithms[2], and even write test assertions[3]!
1: https://github.com/pjlsergeant/xslt-fever-dream/blob/main/util-map.xsl https://github.com/pjlsergeant/xslt-fever-dream/blob/main/ut...
2: https://github.com/pjlsergeant/xslt-fever-dream/blob/main/util-graph.xsl https://github.com/pjlsergeant/xslt-fever-dream/blob/main/ut...
3: https://github.com/pjlsergeant/xslt-fever-dream/blob/main/util-test-framework.xsl https://github.com/pjlsergeant/xslt-fever-dream/blob/main/ut...
- bmacho 1y agoFiles are missing from the repo(?). What about util-map.xsl, test-map.xsl, util-serialize.xsl
- petesergeant 1y agoI've updated this, as well as included instructions on running the built-in unit tests, which are of course also written in XSLT.