Chapter 8. Generating Textual Concrete Syntax

She got her looks from her father. He’s a plastic surgeon.

—Groucho Marx U.S. comedian (1890–1977)

This chapter focuses on the concrete syntax of textual languages. We investigate the generation of a textual concrete syntax from an abstract syntax model. Large parts of this chapter were published in Kleppe [2007].

8.1 The Grasland Generator

Following the writings of Frederick P. Brooks in “No Silver Bullet” [Brooks 1986], I distinguish between the essential part and accidental part of software construction. In 1995, Brooks wrote a response to critics of the original article, and a review of the silver bullets, that missed the mark over the intervening decade, called “‘No Silver ...

Get Software Language Engineering: Creating Domain-Specific Languages Using Metamodels 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.