@hackage / flexible-numeric-parsers

Flexible numeric parsers for real-world programming languages.

Latest0.1.0.0

About

Metadata

  • Last updated , by patrick_thomson
  • License MIT
  • Categories Parsers
  • Maintained by: Patrick Thomson <patrickt@github.com>

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 8.8.3

Readme

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.