The SLAX Scripting Language: An Alternate Syntax for XSLT

juniper.github.io

31 points by thefilmore 2 days ago


codeulike - 5 hours ago

The result is scripts that are easier to develop and maintain.

I believe this goes against the official specification of XML

pitched - 5 hours ago

Some examples of where it improves XSLT would be helpful. The first one I found in the docs looks roughly identical: https://juniper.github.io/libslax/slax-manual.html#expressio...

nullorempty - 5 hours ago

Any incremental improvement and simplification had higher value in the past. Nowadays, the improvements need to be grandeur to justify introducing another way to achieve the same thing. I expect that LLMs will be great at writing standard XSL.

- 3 hours ago
[deleted]
petesergeant - 5 hours ago

I don’t hate this, but it’s fundamentally exactly the same language with a terser syntax. Once you’ve drunk the XSLT kool-aid you’re deep into an IDE that knows how to write it, with auxiliary tooling that knows how to process it, so I’m not sure what actual problem this would solve in the trenches.

ddowner - an hour ago

SLAX has small shoes to fill - XSLT is the data transform language no one asked for and no one needs. With a bar that low, the sky's the limit!