3 ms·
Then I did not understand your reference to the 3rd point. I'm not talking about fully standalone compiled DSLs (totally agree they're usually unmaintainable)
by sklogic 12y ago
Then I did not understand your reference to the 3rd point.
I'm not talking about fully standalone compiled DSLs (totally agree they're usually unmaintainable) - I was referring to the metaprogramming-based compiled eDSLs, implemented as macros on top of a host language (or a range of host languages). This way it's really easy to mix traits into your DSL design, including various type systems, not even necessarily directly compatible with the host language type system.
I found it very productive to have Prolog (or anything comparable) as one of the host languages, it's trivial then to map most of the practical type systems to it.