logoalt Hacker News

The SLAX Scripting Language: An Alternate Syntax for XSLT

34 pointsby thefilmorelast Saturday at 8:00 AM10 commentsview on HN

Comments

codeuliketoday at 11:25 AM

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

I believe this goes against the official specification of XML

show 1 reply
pitchedtoday at 11:34 AM

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...

show 1 reply
nulloremptytoday at 11:45 AM

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.

show 1 reply
petesergeanttoday at 11:38 AM

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.

show 1 reply
ddownertoday at 3:32 PM

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!