parser: implement new parser

It's pretty sweet!