Skip to Content
Software Language Engineering: Creating Domain-Specific Languages Using Metamodels
book

Software Language Engineering: Creating Domain-Specific Languages Using Metamodels

by Anneke Kleppe
December 2008
Intermediate to advanced
240 pages
5h 32m
English
Addison-Wesley Professional

Overview

Software practitioners are rapidly discovering the immense value of Domain-Specific Languages (DSLs) in solving problems within clearly definable problem domains. Developers are applying DSLs to improve productivity and quality in a wide range of areas, such as finance, combat simulation, macro scripting, image generation, and more. But until now, there have been few practical resources that explain how DSLs work and how to construct them for optimal use.

Software Language Engineering fills that need. Written by expert DSL consultant Anneke Kleppe, this is the first comprehensive guide to successful DSL design. Kleppe systematically introduces and explains every ingredient of an effective

language specification, including its description of concepts, how those concepts are denoted, and what those concepts mean in relation to the problem domain. Kleppe carefully illuminates good design strategy, showing how to maximize the flexibility of the languages you create. She also demonstrates powerful techniques for creating new DSLs that cooperate well with general-purpose languages and leverage their power.

Completely tool-independent, this book can serve as the primary resource for readers using Microsoft DSL tools, the Eclipse Modeling Framework, openArchitectureWare, or any other DSL toolset. It contains multiple examples, an illustrative running case study, and insights and background information drawn from Kleppe’s leading-edge work as a DSL researcher.

Specific topics covered include

  • Discovering the types of problems that DSLs can solve, and when to use them

  • Comparing DSLs with general-purpose languages, frameworks, APIs, and other approaches

  • Understanding the roles and tools available to language users and engineers

  • Creating each component of a DSL specification

  • Modeling both concrete and abstract syntax

  • Understanding and describing language semantics

  • Defining textual and visual languages based on object-oriented metamodeling and graph transformations

  • Using metamodels and associated tools to generate grammars

  • Integrating object-oriented modeling with graph theory

  • Building code generators for new languages

  • Supporting multilanguage models and programs

  • This book provides software engineers with all the guidance they need to create DSLs that solve real problems more rapidly, and with higher-quality code.

    Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
    and much more.

    Read now

    Unlock full access

    More than 5,000 organizations count on O’Reilly

    AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

    QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
    Julian F.
    Head of Cybersecurity
    QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
    Addison B.
    Field Engineer
    QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
    Amir M.
    Data Platform Tech Lead
    QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
    Mark W.
    Embedded Software Engineer

    You might also like

    The Java Sessions: The Best of OSCON 2011

    The Java Sessions: The Best of OSCON 2011

    O'Reilly Media, Inc.
    Oracle® Database 10g Insider Solutions

    Oracle® Database 10g Insider Solutions

    Arun Kumar R., John Kanagaraj, Richard Stroupe
    Flow Architectures

    Flow Architectures

    James Urquhart

    Publisher Resources

    ISBN: 9780321606471Purchase book