Textual Polishing

Perform simple textual substitutions before more serious processing.

Internal DSLs are often easier to develop, particularly if you're not comfortable with parsing. However, the resulting DSLs contain host language artifacts that can are awkward for nonprogrammers to read.

Textual Polishing uses a series of simple regular expression substitutions to smooth some of these out.

For more details see chapter 45 of the DSL book

| Catalog of DSL patterns |