User:Haus/Hanzo/lexer

Here's a (somewhat dated) version of the guts of a flex specification for parsing infoboxes: