logoalt Hacker News

jacoblambda11/08/20240 repliesview on HN

Yep. Again, I'm not looking for a perfect global solution.

Just some domain specific language for writing sane low-to-no-js web pages or parts of web pages without having to manually fiddle with HTML or CSS in any real amount.

Static site generators honestly get me a lot of the way there but those are unfortunately template based which means any significant customisation requires dealing with the HTML and CSS rather than being able to just describe the layout and behavior I want.

Honestly I'd just write the compiler/lang myself if I didn't hate frontend so much.