Abstract
In this chapter, several fundamental concepts and engineering techniques for software languages are explained by means of an illustrative domain-specific language. In particular, we exercise the internal and external styles of DSL implementation, textual and visual syntax, parsing, interpretation, and code generation. As a running example, we deal with a DSL for finite state machines FSML (FSM Language). In addition to implementing FSML with mainstream languages and technologies, we discuss design and implementation options and concerns overall and we describe a number of “recipes” for DSL development.
Access provided by CONRICYT-eBooks. Download to read the full chapter text
Chapter PDF
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG, part of Springer Nature
About this chapter
Cite this chapter
Lämmel, R. (2018). A Story of a Domain-Specific Language. In: Software Languages. Springer, Cham. https://doi.org/10.1007/978-3-319-90800-7_2
Download citation
DOI: https://doi.org/10.1007/978-3-319-90800-7_2
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-90798-7
Online ISBN: 978-3-319-90800-7
eBook Packages: Computer ScienceComputer Science (R0)