Specification file:

Generated parser code:

Applying this parser to a font: