A tiny but robust madlib parser.