no-herd maintainer-needed@gentoo.org SDF2 is a syntax definition formalism with the following features: * Modular syntax definition (parametrized modules, symbol renaming) * Integrated lexical and context-free syntax * Declarative disambiguation constructs (priorities, associativity, and more) * Regular expression shorthands * All non-circular context-free grammars allowed! SDF2 is implemented in two parts: * The ParsetableGenerator * SGLR: a scannerless generalized LR parser The above implementation accepts arbitrary context-free grammars as input.