Skip to content

Parsing hexadecimal floats #554

Open
@gabrielsimoes

Description

@gabrielsimoes

It seems the parsing utilities in Text.Megaparsec.Char.Lexer do not support parsing hexadecimal floats out of the box:

0x0.1E
0xA23p-4
0X1.921FB54442D18P

Given how complex these are to parse efficiently and correctly, it seems like it would be a worthy addition to megaparsec.

Let me know if I am missing something obvious and there is an easy way to use the existing functions to parse these.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions