pnathan / pp-toml

Paul's Parser for Tom's Own Minimal Language
https://github.com/mojombo/toml
Other
19 stars 3 forks source link

Strict mode should error on > 2^64-bit integers #14

Open pnathan opened 9 years ago

pnathan commented 9 years ago

For integers...

+Integers are whole numbers. Positive numbers may be prefixed with a plus sign.
+Negative numbers are prefixed with a minus sign.

+Leading zeros are not allowed. Hex, octal, and binary forms are not allowed.
+Values such as "infinity" and "not a number" that cannot be expressed as a
+series of digits are not allowed.
+
+64 bit (signed long) range expected (−9,223,372,036,854,775,808 to
+9,223,372,036,854,775,807).