3 ms·
Any recommendation on tools and languages to create a DSL transpiling to javascript? Whalesong and other fully-fledged languages look like good solutions if you
by hiq 9y ago
Any recommendation on tools and languages to create a DSL transpiling to javascript? Whalesong and other fully-fledged languages look like good solutions if you already know the language (Go for gopherjs) or just want to write javascript with better guarantees (typescript). How easy is it to redefine a subset of javascript from Whalesong or other *-to-javascript compiler?
I currently have to write simple javascript code, which is repetitive enough that I wrote some python helpers to generate it. I'm pretty sure a Lisp language (which are known to be good at designing DSL) could help even more, but the ecosystem is quite big for a newcomer.