A single-class-parser generator