Comment by giancarlostoro
6 years ago
This makes me want to learn Lua just so that I can see what kind of things I can do with it. There's a DSL in Kotlin for HTML as well that looks syntactically similar. I have not dived enough into DSL land yet, but this looks kind of fun.
Groovy also has a great HTML DSL: http://groovy-lang.org/processing-xml.html#_markupbuilder
Implementing your own DSL is fairly trivial too: http://docs.groovy-lang.org/docs/latest/html/documentation/c...
Rust's lexical macros look even more interesting: https://github.com/bodil/typed-html
The same could be said about anything Bodil Stokke publishes.