Domain-Specific Languages

Effective Modeling, Automation, and Reuse

AvAndrzej Wąsowski,Thorsten Berger

Häftad, Engelska, 2023

672 kr

Beställningsvara. Skickas inom 10-15 vardagar. Fri frakt över 249 kr.

Beskrivning

This textbook describes the theory and the pragmatics of using and engineering high-level software languages – also known as modeling or domain-specific languages (DSLs) – for creating quality software. This includes methods, design patterns, guidelines, and testing practices for defining the syntax and the semantics of languages. While remaining close to technology, the book covers multiple paradigms and solutions, avoiding a particular technological silo. It unifies the modeling, the object-oriented, and the functional-programming perspectives on DSLs. The book has 13 chapters. Chapters 1 and 2 introduce and motivate DSLs. Chapter 3 kicks off the DSL engineering lifecycle, describing how to systematically develop abstract syntax by analyzing a domain. Chapter 4 addresses the concrete syntax, including the systematic engineering of context-free grammars. Chapters 5 and 6 cover the static semantics – with basic constraints as a starting point and type systems for advanced DSLs. Chapters 7 (Transformation), 8 (Interpretation), and 9 (Generation) describe different paradigms for designing and implementing the dynamic semantics, while covering testing and other kinds of quality assurance. Chapter 10 is devoted to internal DSLs. Chapters 11 to 13 show the application of DSLs and engage with simpler alternatives to DSLs in a highly distinguished domain: software variability. These chapters introduce the underlying notions of software product lines and feature modeling.The book has been developed based on courses on model-driven software engineering (MDSE) and DSLs held by the authors. It aims at senior undergraduate and junior graduate students in computer science or software engineering. Since it includes examples and lessons from industrial and open-source projects, as well as from industrial research, practitioners will also find it a useful reference. The numerous examples include code in Scala 3, ATL, Alloy, C#, F#, Groovy, Java, JavaScript, Kotlin, OCL, Python, QVT, Ruby, and Xtend.  The book contains as many as 277 exercises. The associated code repository facilitates learning and using the examples in a course.

Produktinformation

Utforska kategorier

Mer om författaren

Innehållsförteckning

Hoppa över listan

Mer från samma författare

Hoppa över listan

Du kanske också är intresserad av

Tone Schunnesson - Ultravåld, Inbunden
  • -19%

Ultravåld

Tone Schunnesson

Inbunden, 2026

4,0 utav 5 stjärnor. Totalt antal röster:(50)

209 kr259 kr

Hans Rosenfeldt - Skördebarn, Pocket
  • 4 för 3
Del 2

Skördebarn

Hans Rosenfeldt

Pocket, 2026

4,4 utav 5 stjärnor. Totalt antal röster:(21)

99 kr

David Szalay - Kött, Inbunden
  • -23%

Kött

David Szalay

Inbunden, 2026

4,0 utav 5 stjärnor. Totalt antal röster:(41)

199 kr259 kr

Jessika Devert - Tanter på tåg, Pocket
  • 4 för 3

Tanter på tåg

Jessika Devert

Pocket, 2026

5,0 utav 5 stjärnor. Totalt antal röster:(1)

99 kr

Paula Hawkins - Den blå timmen, Pocket
  • 4 för 3

Den blå timmen

Paula Hawkins

Pocket, 2026

4,1 utav 5 stjärnor. Totalt antal röster:(9)

69 kr