A simple example of a Domain-Specific Language for the transcription of manuscripts. Specific portions of text can be marked as written by the author ({}
) or by the editor ([]
), gaps ([...]
) can be inserted whenever the text is too hard to read, and placeholders for figures ([fig]
) can be inserted into the text stream. All of these phenomena could also be commented by adding a parenthesized string right after the symbols.
Finally, the ---
symbol can be used on a line by itself to represent a break (like for example a page break).