I wish instead of HTML+JS we had just… Lisp.
Example SXML template, that fills in data fields from a given namespace:
(form
(@ (method (%data form-method))
(action (%data form-action)))
(label "Username")
(input (@ (type "text")
(name (%data username-input-name))))
(label "Password")
(input (@ (type "password")
(name (%data password-input-name))))
(input (@ (type "submit"))))https://github.com/dgoffredo/dgoffredo.github.io/blob/372300...
You could do the exact same thing in javascript.
Incredibly useful.
And then there is the whole SXPATH and SXSLT stuff that makes sxml a lot nicer than HTML.
Hardly had to touch it, it's brilliant.