Creative DSLs in Kotlin

Lieferzeit: Produkt noch nicht erschienen.

35,30 €

Design Strategies for Real-World Projects

ISBN 13: 9798868828201
Autor: Gronau, Daniel
Verlag: APress
Umfang: xix, 235 S., 7 s/w Illustr., 235 p. 7 illus.
Erscheinungsdatum: 31.10.2026
Auflage: 1/2027
Produktform: Kartoniert
Einband: Kartoniert

Nicht vorrätig

Artikelnummer: 962255 Kategorie:

Beschreibung

Design and implement domain-specific languages (DSLs) in Kotlin. This book goes beyond toy examples and provides realworld insights into writing DSLs in practice. You will learn a structured approach to DSL design, including defining goals, understanding constraints, and avoiding common pitfalls. You will explore essential Kotlin language features for DSL development, as well as the interoperability issues that arise when a Kotlin DSL needs to be called from Java code. You will also review major DSL patterns, including algebraic DSLs, builderstyle DSLs, and idiomatic approaches like the Loan Pattern. Finally, the book addresses advanced topics such as modeling state transitions, creating hybrid DSLs, parsing strings, leveraging annotations, and using code generation to reduce boilerplate. This book combines theory, patterns, and realworld applications to help you build DSLs that are robust, maintainable, and effective. In the end, you will not only be able to write DSLs in Kotlin but also understand the why behind important design decisions throughout the entire process. What You Will Learn: Start, manage, and maintain DSL projects effectively. Understand the different DSLs that can be expressed in Kotlin. Choose the right DSL for your needs, understanding the tradeoffs of different patterns. Leverage Kotlins language features for DSL design. Address interoperability challenges between Kotlin and Java. Who This Book Is for: Experienced Kotlin and Java developers. Readers should have a solid foundation in their primary programming language before diving into DSLs.

Autorenporträt

Daniel Gronau is a seasoned software developer with nearly 25 years of industry experience with a passion for programming languages. After starting with Java in 2001, he pursued modern alternatives such as Ceylon, Scala, and Kotlin. Based in Germany, his experience spans companies like Spread Group (sprd.net AG) and Guardian Industries, and currently works for a division of Aurubis AG group.

Herstellerkennzeichnung:


APress in Springer Science + Business Media
Heidelberger Platz 3
14197 Berlin
DE

E-Mail: juergen.hartmann@springer.com

Das könnte Ihnen auch gefallen …