|
|
Building Interpreters with EMF, Xtext and Scala
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 I will introduce a small framework that supports efficient construction of interpreters. The
language syntax is defined using oAW's Xtext, which automatically creates EMF ASTs from a textual syntax.
We then build an interpreter for the language using the Scala programming language.
The framework is itself constructed using model-driven development techniques and code generation.
|