logoalt Hacker News

jayd16last Wednesday at 4:07 PM1 replyview on HN

If it's a DSL then it's "writing a new language" and you're just calling from a native API, no?


Replies

naaskinglast Thursday at 6:09 PM

Embedded DSLs are libraries. They are the epitome of the advice to write a library. It just so happens that the library abstractions could map to a language if you wanted to add parsing and all of the other machinery.