3 ms·
Maybe a better approach is to take an existing language and build a DSL for it
by stabbles 8y ago
Maybe a better approach is to take an existing language and build a DSL for it
- kjeetgill 8y agoRespectfully disagree. DSLs embedded into another language are doubly terrible. Independent DSLs like GLSL or SQL are tricky to get right, but work; but they're just their own languages. With embedded DSLs you don't get the portability of a library and reusability of a library, but instead get a horribly crooked, compromised, limited grammar based on the meta-programming limitations of the hosting language (looking at you gradle!).