Text processing applications need to segment text into pieces. Segments may be word, sentences, paragraphs and so on. From a typographic viewpoint some languages present serious challenges for correct segmenting.
Conventional parser generator do not handle ambiguous grammars well. Especially for ad-hoc DSLs, however, grammar ambiguity is quite common. GoRGO implements two types of bottom-up parsers to deal with ambiguity: Earley parsing and GLR-parsing.
The MetaPost language is reminiscent of mathematical writing. Its variable names look innocent enough, but from a parser’s point of view they carry different semantics than with other programming languages.