News for hackers. Stuff that matters.
Re:XSLT – Native, zero-config build system for the Web by yoz on Friday June 27, 2025 @12:59PM (#44398361)
Serious question: would it be worth the effort to treat XSLT as a compilation target for a friendlier language, either extant or new?

There's clearly value in XSLT's near-universal support as a web-native system. It provides templating out of the box without invoking JavaScript, and there's demand for that[1]. But it still lacks decent in-browser debugging which JS has in spades.

[1] https://justinfagnani.com/2025/06/26/the-time-is-right-for-a...

Re:XSLT – Native, zero-config build system for the Web by bokchoi on Friday June 27, 2025 @02:49PM (#44399230)
I just posted this in another comment: https://github.com/Juniper/libslax/wiki/Intro
Re:XSLT – Native, zero-config build system for the Web by sam_lowry_ on Saturday June 28, 2025 @08:19AM (#44404156)
SLAX is great, unfortunately it was released a bit too late.

XML world is full of ugly standards and failed contenders. None remembers RelaxNG. But had reacher expressive power than XMLSchema and a human-readable syntax.

Re:XSLT – Native, zero-config build system for the Web by bokchoi on Sunday June 29, 2025 @12:47PM (#44414464)
Schematron!
Re:XSLT – Native, zero-config build system for the Web by jerf on Friday June 27, 2025 @01:36PM (#44398699)
It would at least be an interesting project. If someone put the elbow grease into it it is distinctly possible that an XSLT stylesheet could be not just converted to JS (which is obviously true and just a matter of effort), but converted to something that is at least on the edge of human usable and editable, and some light refactoring away from being decent code.