Rewrite c-style parser

Remove parser combinator in favour of speed