Copied over the Path Parser from the older hipe
Ipe Types and parser