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 6. Abstract Syntax

Grasp the subject, the words will follow.

—Cato the Elder Roman orator and politician (234 BC–149 BC)

This chapter explains why abstract syntax plays a central role in a language specification. The chapter describes the relationship between a mogram and its language specification and explains how to create an abstract syntax model. Finally, the chapter introduces a small example language, for which an abstract syntax model is presented.

6.1 The Pivotal Role of Abstract Syntax

Abstract syntax for language engineering is of critical importance. It is the pivot between various concrete syntaxes of the same language, as well as between the syntactical structure of a mogram and its meaning. Thus, it ...

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