Live data from Hacker News

HTML, the Programming Language

html-lang.org

91–100 of 141 posts

Re: HTML, the Programming Language

#93

The best part is how they have to keep repeating "HTML, the programming language" or "HTML, the markup language" everywhere in an attempt to keep things clear :) It would be awesome if they were using some sort of macro system / templating engine to consistently expand {{html_prog}} and {{html_markup}} just to keep it straight while they're writing it. Thank you for posting this, it made my day a bunch brighter!

HTPL? I appreciate their joke, but “HyperText Markup Language, the markup language” is a little redundant. Some of us have had to include XSLT programming in our careers. We have seen into the dark abyss… and been paid to do it!

XSLT was the best!

Well, except for the syntax and the lack of resources and that it wasn't designed to be a programming language...

Okay so it wasn't the best. But somewhere in there is a language which does want to be the best!

Re: HTML, the Programming Language

#95

One suggestion - it would be really cool to allow FFI. Something like const foo = (bar) => { document.getElementById('my-element'); // More here! }; That way you could really leverage the full power of HTML, the programming language!

HTML, the programming language, is fully interoperable w/ JavaScript, the programming langauge (sic):

https://html-lang.org/#js

functions defined in HTML, the programming language, can be invoked by JavaScript, the programming language (sic) and vice versa.

Re: HTML, the Programming Language

#96
post #8

Is this "HTML-based" or "HTML, based"?

is an obscure tag that I think allows to exploit accidental turing completeness similar to the checkbox hack. Or is it? I once considered using that tag for some price calculator widget, but it couldn't even replace a div because of styling issues or something. That being said, I spent like half a minute trying to figure out the point of this post and then lost interest... Will try again, was hoping for a funny Rube…

well that's no fun

Re: HTML, the Programming Language

#97

Maybe I am mistaken but it seems to me that the stack is implemented with a Javascript. I am a bit disappointed, in the sense that the stack too could have been implemented as a a list of tags in the containing document. This would enable interesting features such as visual debugging (you just check the document to see the status of the program) and more importantly would enable the "code as data" paradigm, giving us…

progress... not perfection

Re: HTML, the Programming Language

#100

The best part is how they have to keep repeating "HTML, the programming language" or "HTML, the markup language" everywhere in an attempt to keep things clear :) It would be awesome if they were using some sort of macro system / templating engine to consistently expand {{html_prog}} and {{html_markup}} just to keep it straight while they're writing it. Thank you for posting this, it made my day a bunch brighter!

HTPL? I appreciate their joke, but “HyperText Markup Language, the markup language” is a little redundant. Some of us have had to include XSLT programming in our careers. We have seen into the dark abyss… and been paid to do it!

So it's like... jq for xml, except the language is an xml dsl?

Is it pronounced "ex-slut"?

Post reply on HN