Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patrickt/flexible-numeric-parsers
Flexible numeric parsers for real-world programming languages’ numeric syntax.
https://github.com/patrickt/flexible-numeric-parsers
Last synced: 2 months ago
JSON representation
Flexible numeric parsers for real-world programming languages’ numeric syntax.
- Host: GitHub
- URL: https://github.com/patrickt/flexible-numeric-parsers
- Owner: patrickt
- License: mit
- Created: 2020-06-28T23:41:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-26T14:33:27.000Z (over 3 years ago)
- Last Synced: 2024-10-04T16:43:42.365Z (3 months ago)
- Language: Haskell
- Size: 21.5 KB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# flexible-numeric-parsers
[![GitHub CI](https://github.com/patrickt/flexible-numeric-parsers/workflows/CI/badge.svg)](https://github.com/patrickt/flexible-numeric-parsers/actions)
[![Hackage](https://img.shields.io/hackage/v/flexible-numeric-parsers.svg?logo=haskell)](https://hackage.haskell.org/package/flexible-numeric-parsers)
[![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](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](http://github.com/github/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.