Code Generation 2008 Programme Information
Session TitleBuilding Interpreters with EMF, Xtext and Scala

Session Type Tutorial

Duration75 minutes

Session Description In model-driven software development, code generation is the primary means of getting from the models to code. However, there are cases when interpretation is the way to go: whenever you want to be able to edit the "model" at runtime, you'll typically need an interpreter.

In this session a small framework that supports efficient construction of interpreters is introduced. The language syntax is defined using oAW's Xtext, which automatically creates EMF ASTs from a textual syntax. An interpreter for the language is then built using the Scala programming language.

The framework is itself constructed using model-driven development techniques and code generation.

Speaker Markus Völter works as an independent consultant and coach for software technology and engineering. He focuses on software architecture, model-driven software development and domain specific languages as well as on product line engineering. Markus is (co-) author of many magazine articles, patterns and books on middleware and model-driven software development. He is a regular speaker at conferences world wide. Markus can be reached at voelter at acm dot org or via

Intended Audience Intermediate. No tool knowledge is required but some knowledge of metamodels would be useful.

Links Read about Markus's work with OpenArchitectureWare on the Code Generation Network.