September 2019
Intermediate to advanced
462 pages
11h 3m
English
We’ll first look at the types of DSLs and then discuss their main characteristics. Knowing these will help you make a right choice, both for the type of DSL and for the language to program them.
When designing, you have to choose between an external or an internal DSL.
You enjoy greater freedom if you opt to create an external DSL, but you’re responsible for creating the parser to parse and process the DSL. That can be a lot of effort, and you have to balance that against the flexibility you get.
You design an internal or embedded DSL within the confines of a host language. The language’s compilers and tools serve as the parser. The good news is you don’t expend any effort to parse. ...
Read now
Unlock full access