O'Reilly logo

Software Language Engineering: Creating Domain-Specific Languages Using Metamodels by Anneke Kleppe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Elements of a Language Specification

All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can’t get them together again, there must be a reason. By all means, do not use a hammer.

—IBM maintenance manual, 1925

This chapter identifies what elements should be in a language specification, explains how to create a language specification, and describes what a language specification has to do with model transformations.

4.1 Language Specification

When you want to know how to create languages, you need to know how to describe a language. What is your result: a document, a set of tools, both? I think that we need both, but the language-specification ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required