December 2021
Intermediate to advanced
494 pages
10h 52m
English
The code generation that was presented in the previous chapters covered basic conditional and loop control structures, but domain-specific languages often have unique or customized semantics that merit introducing novel control structures. Adding a new control structure is usually substantially more difficult than adding a new function or operator. However, when they are effective, the addition of domain control structures is a large part of what makes domain-specific languages worth developing instead of just writing class libraries.
This chapter covers the following main topics:
The first section ...
Read now
Unlock full access