O'Reilly logo

Eclipse Modeling Project: A Domain-Specific Language (DSL) Toolkit by Richard C. Gronback

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 5. Developing a DSL Textual Syntax

You’ve seen how it’s possible to create a graphical concrete syntax using Graphical Modeling Framework (GMF), but a graphical notation might not always be appropriate or sufficient for a domain-specific language (DSL). In software development, textual syntaxes are the most popular and well-supported means by which to work with programming languages, both general purpose and domain specific. Tools to generate parsers, abstract syntax trees, and semantic analysis are quite mature and plentiful. Frameworks designed to support editing, refactoring, versioning, comparison, and merging of textual languages are also common, with Eclipse representing perhaps the most popular on the planet today.

As discussed ...

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