Add parser for real numbers which accepts more inputs #44

Closed
wants to merge 4 commits into
from

Conversation

Projects
None yet
2 participants

New parsers accept numbers which have leading or trailing dot. For example:

"1."   == 1.0 - trailing dot
".23"  == 0.23 - leading dot
"-0.3" == -0.3

Such numbers appear in the wild so it makes sense to have parsers for them.

@bos bos referenced this pull request Apr 6, 2015

Closed

Parse doubles like ".1" #100

Collaborator

bgamari commented Apr 8, 2016

This needs to be rebased.

Collaborator

bgamari commented Jun 30, 2016

Closing for now. Feel free to open with a rebased patch.

@bgamari bgamari closed this Jun 30, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment