←back to thread

392 points _kush | 3 comments | | HN request time: 0s | source
1. petesergeant ◴[] No.44394320[source]
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/ut...

2: https://github.com/pjlsergeant/xslt-fever-dream/blob/main/ut...

3: https://github.com/pjlsergeant/xslt-fever-dream/blob/main/ut...

replies(1): >>44394822 #
2. bmacho ◴[] No.44394822[source]
Files are missing from the repo(?). What about util-map.xsl, test-map.xsl, util-serialize.xsl
replies(1): >>44394857 #
3. petesergeant ◴[] No.44394857[source]
I've updated this, as well as included instructions on running the built-in unit tests, which are of course also written in XSLT.