flexible-numeric-parsers: Flexible numeric parsers for real-world programming languages.

[ library, mit, parsing ] [ Propose Tags ]

This package provides parsers for integer, natural, and arbitrary-precision decimal numbers that are compatible with the syntaxes of a wide variety of programming languages.

[Skip to Readme]


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS]
Change log CHANGELOG.md
Dependencies base (>= && <5), parsers (>=0.12.10 && <0.13), scientific (>=0.3.6 && <0.4) [details]
License MIT
Copyright 2020 Patrick Thomson
Author Patrick Thomson
Maintainer Patrick Thomson <patrickt@github.com>
Category Parsing
Home page https://github.com/patrickt/flexible-numeric-parsers
Bug tracker https://github.com/patrickt/flexible-numeric-parsers/issues
Source repo head: git clone https://github.com/patrickt/flexible-numeric-parsers.git
Uploaded by patrick_thomson at 2021-08-26T14:34:52Z
Distributions NixOS:
Downloads 173 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for flexible-numeric-parsers-

[back to package description]


GitHub CI Hackage MIT license

Flexible numeric parsers for real-world programming languages. These parsers accept values such as 100_000_000, 0B1_1, and 0xa_bcd_ef0.

This code was extracted from the Semantic project.

Currently missing support for complex numbers, suffixes indicating signedness/size (U and L and friends), and hexadecimal floats. If you need the former, file an issue; if you need the latter, then I sure want to know what your use case is.