3 ms·
Why can't you just write a HTML builder in pure JavaScript that matches the semantics of what you had in LISP? HTML is not a complex language. My HTML generator
by erikpukinskis 11y ago
Why can't you just write a HTML builder in pure JavaScript that matches the semantics of what you had in LISP? HTML is not a complex language. My HTML generator is 300 lines... I feel like you should be able to bang out the basics in a similar size?
- an_ko 11y agoYou can bang out the same semantics in anything Turing-complete, but syntax is still important. I can't think of a way to say `(html (body (p "hi")))` as clearly in pure JavaScript.