frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

The SLAX Scripting Language: An Alternate Syntax for XSLT

http://juniper.github.io/libslax/slax-manual.html
13•thefilmore•2d ago

Comments

codeulike•1h ago
The result is scripts that are easier to develop and maintain.

I believe this goes against the official specification of XML

pwagland•39m ago
At the very least, it goes against the spirit of the specification, even if there is no explicit wording forbidding it.
pitched•1h 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...
bux93•4m ago
In "peeking under the hood", it says quite honestly "SLAX is purely syntactic sugar."

I think that the XML syntax of XSLT itself was only one barrier for people to adopt XSLT, even in the XML heydays.

The main obstacles appear to me that the execution model is hard for people to graps; you need to think both as a parser (apply-templates/) and in a more declarative style at the same time. The XSLT can be in a completely different order to the document and in fact it can visit nodes in the document multiple times, hopping through nodes in a different order each time, with lovely constructs like apply-template with "mode" and "select" mixed with call-template by "name", plus you get to use xpath and for-each to boot. The control flow changes from the order in the input, to some predefined order, and back depending on when you decide to match(-template) or for-each. There's a lot going on at the same time! Fun times!

petesergeant•1h 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.
yxhuvud•1h ago
Also, "Built on top of libxslt and libxml2" is a fairly harsh restriction in that it stops any usage of xslt 2.x or 3.x. Which has quite significant improvements.
nullorempty•1h 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.
Mesmoria•50m ago
Confirmed.
chuckadams•1m ago
[delayed]

When AI Crosses the Line: The Matplotlib Incident

https://members.sigmazero.cc/posts/when-ai-crosses-159174096?postId=when-ai-crosses-159174096
25•sigmazero•45m ago•11 comments

A 10 year old Xeon is all you need

https://point.free/blog/gemma-4-on-a-2016-xeon/
297•cafkafk•6h ago•117 comments

Tracing HTTP Requests with Go's net/HTTP/httptrace

https://blainsmith.com/articles/httptrace-with-go/
78•speckx•3d ago•3 comments

Movwin: My (Unpublished) TUI Framework

https://movq.de/blog/postings/2026-05-29/0/POSTING-en.html
12•zdw•2d ago•0 comments

Cessation of public development of Kefir C compiler

https://kefir.protopopov.lv/posts/announce2.html
65•f311a•4h ago•17 comments

Chuwi Minibook X

https://tylercipriani.com/blog/2026/05/28/chuwi-minibook-x/
322•thcipriani•13h ago•244 comments

Benchmarking SurrealDB 3.x vs. Postgres, Mongo, Neo4j and Redis (With Fsync)

https://surrealdb.com/blog/surrealdb-3-x-by-the-numbers
48•itsezc•2d ago•4 comments

Cloudflare Turnstile requiring fingerprintable WebGL

https://hacktivis.me/articles/cloudflare-turnstile-webgl-fingerprinting
718•HypnoticOcelot•22h ago•408 comments

Is Python Becoming Pinyin?

https://lernerpython.com/2026/05/19/is-python-becoming-pinyin/
33•reuven•4h ago•34 comments

Decades of Effort Restore Steelhead and Salmon Passage on Alameda Creek

https://www.fisheries.noaa.gov/feature-story/decades-effort-restore-steelhead-and-salmon-passage-...
156•rawgabbit•2d ago•22 comments

LLMs Are Closer to Religion Than They Appear

https://www.theregister.com/ai-ml/2026/06/01/llms-are-closer-to-religion-than-they-appear-watch-o...
40•sbulaev•1h ago•12 comments

The SLAX Scripting Language: An Alternate Syntax for XSLT

http://juniper.github.io/libslax/slax-manual.html
13•thefilmore•2d ago•8 comments

Blorp Language

https://blorp-lang.org/
30•croottree•5h ago•9 comments

1-Bit Bonsai Image 4B Image Generation for Local Devices

https://prismml.com/news/bonsai-image-4b
416•modinfo•21h ago•176 comments

ChatGPT for Google Sheets exfiltrates workbooks

https://www.promptarmor.com/resources/gpt-for-google-sheets-data-exfiltration
251•hackerBanana•16h ago•96 comments

Dav2d

https://jbkempf.com/blog/2026/dav2d/
513•captain_bender•1d ago•185 comments

MacBook Pro Rival with the Nvidia Powered Surface Laptop Ultra

https://www.windowslatest.com/2026/06/01/microsoft-builds-its-ultimate-macbook-pro-rival-with-the...
13•jbk•49m ago•9 comments

United Airlines 767 returns to Newark after Bluetooth name sparks alert

https://simpleflying.com/united-airlines-767-returns-newark-bluetooth-name-alert/
380•Eridanus2•1d ago•760 comments

The Genius of the Barn Owl's Feathers

https://thereader.mitpress.mit.edu/the-genius-of-the-barn-owls-feathers/
53•EA-3167•3d ago•12 comments

Meta launches Instagram, Facebook, and WhatsApp subscriptions

https://techcrunch.com/2026/05/27/meta-officially-launches-instagram-facebook-and-whatsapp-subscr...
248•tambourine_man•19h ago•398 comments

Rubin Tracks Skyscraper-Size Asteroids and Failed Supernovas

https://www.quantamagazine.org/rubin-tracks-skyscraper-size-asteroids-failed-supernovas-and-inter...
38•adm4•8h ago•10 comments

The four programming questions from my 1994 Microsoft internship interview (2023)

https://www.computerenhance.com/p/the-four-programming-questions-from
163•tosh•4d ago•70 comments

New Beam Spring Keyboards

https://www.modelfkeyboards.com/product/beam-spring-b104-keyboard/
112•recursivedoubts•2d ago•75 comments

Using Git's rerere feature to escape recurring conflict hell

https://gist.github.com/skipcloud/f1033afb4fa5681d69fa63458cc95928
16•ankitg12•5h ago•2 comments

Two Ways to Draw Infinite Jest's Sierpinski Gasket

https://www.chiply.dev/post-ij-sierpinski
37•chiply•3d ago•37 comments

What if remote working, not AI, is to blame for weak junior hiring?

https://www.ft.com/content/2205e2d0-50dc-4e80-9bf7-78d0272276c0
206•uxhacker•2d ago•274 comments

Finding success in industry as a chip designer

https://spectrum.ieee.org/chip-design-academic-vs-industry
50•jnord•3d ago•6 comments

Websites have a new way to spy on visitors: analyzing their SSD activity

https://arstechnica.com/security/2026/05/websites-have-a-new-way-to-spy-on-visitors-analyzing-the...
215•Brajeshwar•3d ago•57 comments

Unix in East Germany (GDR) (1990)

https://groups.google.com/g/comp.unix.wizards/c/QX_dxElrVNs
91•downbad_•2d ago•23 comments

The Website Specification

https://specification.website/
516•k1m•1d ago•205 comments