parses num expressions