Generic lexer (and little parser) written in Golo