3 ms·
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 s
by giancarlostoro 7y 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.
- frabert 7y agoRust's lexical macros look even more interesting: https://github.com/bodil/typed-html https://github.com/bodil/typed-html
- 1MachineElf 7y agoThe same could be said about anything Bodil Stokke publishes.
- dmux 7y agoGroovy also has a great HTML DSL: http://groovy-lang.org/processing-xml.html#_markupbuilder 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/core-domain-specific-languages.html#_command_chains http://docs.groovy-lang.org/docs/latest/html/documentation/c...