Currently the ugly part of parser-combinator is the constructors that define the languages.
It is not just ugly, it also prevents effective subclassing of a language, to modify some aspects of it.
(It is still way nicer than the native Doctrine annotation parser, though)
Currently the ugly part of parser-combinator is the constructors that define the languages.
It is not just ugly, it also prevents effective subclassing of a language, to modify some aspects of it.
(It is still way nicer than the native Doctrine annotation parser, though)