Prototype implementation of number parsing.