NewParser: changed type of parseOne from ParseFunc to ParseFuncD
NewParser: made parseOne more robust
NewParser: added parseInteger