Skip to content

Support parsing <a.b>-style float literals - #16

Open
lucasvr wants to merge 1 commit into
a6f:mainfrom
lucasvr:lucas/float-parser
Open

Support parsing <a.b>-style float literals#16
lucasvr wants to merge 1 commit into
a6f:mainfrom
lucasvr:lucas/float-parser

Conversation

@lucasvr

@lucasvr lucasvr commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Extend the grammar to support floating point numbers. The new rule handles '-?digits.digits' with an optional 'e+/-N' exponent.

The numbers are encoded as IEEE 754 — binary32 by default, or as binary64 with /bits/ 64.

Extend the grammar to support floating point numbers. The new rule
handles '-?digits.digits' with an optional 'e+/-N' exponent.

The numbers are encoded as IEEE 754 — binary32 by default, or as
binary64 with `/bits/ 64`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant