4 ms·
I love it! Now, if it can render content where: - HTML is replaced with S-Exprs - CSS is replaced with lisp - javascript is replaced with lisp Then I think
by peatmoss 9y ago
I love it! Now, if it can render content where:
- HTML is replaced with S-Exprs
- CSS is replaced with lisp
- javascript is replaced with lisp
Then I think I'll be ready to join whatever cult you ever feel like starting :-)
- patrickmay 9y agoThat's no cult, that's a Utopia!
- Zaak 9y agoI wouldn't like to see CSS replaced with lisp. CSS is declarative, lisp is imperative/functional.
- keymone 9y agoLisp can be very much declarative. It can be literally any paradigm by virtue of being a direct representation of it's AST while all other languages have to be parsed into AST.
- infinite8s 9y agoCSS's cascading rules can be diagrammed as a tree, so can be shown as s-exprs.
- keymone 9y agoHTML: https://github.com/weavejester/hiccup https://github.com/weavejester/hiccup CSS: https://github.com/noprompt/garden https://github.com/noprompt/garden Javascript: https://github.com/clojure/clojurescript https://github.com/clojure/clojurescript seriously, Clojure is the utopia.
- zeveb 9y agoNo reason this couldn't accept a content type of application/htsl (for hypertext S-expression language, of course). I proposed something like this in a comment of mine a couple of months back: https://news.ycombinator.com/item?id=14931277 https://news.ycombinator.com/item?id=14931277
- Fice 9y agoWouldn't that be "reinventing the flat tire"? The Web needs far more serious redesign than just replacing the syntaxes.