Hacker News new | ask | show | jobs
by liamkinne 306 days ago
XML? how is this not just XML with a schema?
4 comments

Does XML allow you to define for-loops inside <bracketed> items then reference the loop variables inside {{template vars}}? https://youtu.be/b9WDcFsKixo?t=223

I guess it doesn't prevent you from doing such things, but... well... there's some eyebrow-raising shoehorning in this one.

Yes it does. Apache ant did that... many many years ago.

Creating a new language that looks like XML but is not XML is... kind of unforgivable. I'd go as far and call it amateur-like. We already have good configuration languages (such as dhall-lang) and when more power is needed, then just use a real language and provide a DSL inside of it.

It's from Microsoft. They always cook up their own incompatible shit instead of using existing standards.
Maybe it's not fully XML compliant.

Anyway quite an interesting project, XML's a better fit for "programmable" data.

It has self-closing tags, which you can see in the repo screenshot, so you're correct.
But why... standards are good, eveyone should have one, I guess.
XML, for those born after 1990, you could have well said COBOL or FORTRAN, something gramps used to mention.