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]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies base (>=4.12.0.0 && <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:0.1.0.0
Downloads 163 total (9 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-0.1.0.0

[back to package description]

flexible-numeric-parsers

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.