(new api) Copying Micah's parser algorithm from µpaws.js

Magnus Holm did all the work here, I'm merging his 'parser+'-branch work into a safe-stage for
Master.

Signed-off-by: elliottcable <me@ell.io>