Skip to content

Conversation

robsimmons
Copy link
Contributor

@robsimmons robsimmons commented Sep 19, 2025

This PR makes the lexical specification of natural numbers and scientific notation literals more precise.

::::

# Literals
# Numeric Literals
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Am I going to screw around with anchor refs or worse by changing this? The current title is misleading, as string literals are covered in a totally different section.

@david-christiansen david-christiansen added the HTML available HTML has been generated for this PR label Sep 19, 2025
@robsimmons
Copy link
Contributor Author

Note: I ended up not going with a BNF-style notation here because I couldn't find any other BNF representations of tokens (as opposed to terms) in the language reference.

@robsimmons robsimmons changed the title feat: precise spec for natural numbers and scientific notation literals. feat: precise spec for natural numbers and scientific notation literals Sep 19, 2025
Copy link
Contributor

Preview for this PR is ready! 🎉 (also as a proofreading version). built with commit 6ee2e44.

@robsimmons robsimmons merged commit bdb997c into main Sep 26, 2025
9 checks passed
@robsimmons robsimmons deleted the precise-number-spec branch September 26, 2025 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HTML available HTML has been generated for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants