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

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

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]

Properties

Versions 0.1.0.0, 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:33:36Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


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.