Rough record parser
Replace closures for a 2x lex speedup