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 ...

Get Eclipse Modeling Project: A Domain-Specific Language (DSL) Toolkit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.