Skip to content

Unquoted literals as name or number #553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Dec 5, 2023
Merged

Conversation

aphillips
Copy link
Member

@aphillips aphillips commented Dec 4, 2023

Implements the changes discussed in the 2023-12-04 teleconference.

This makes an unquoted literal be a name or a number.

This PR does NOT include changes to + and - sigils in the function production pending discussion/implementation of hash-and-slash for spannables. Merging this PR without those changes will make our syntax inconsistent/ambiguous.

Fixes #518 #519

@aphillips aphillips mentioned this pull request Dec 4, 2023
@aphillips aphillips added syntax Issues related with syntax or ABNF normative Issue affects normative text in the specification specification Issue affects the specification labels Dec 4, 2023
Copy link
Collaborator

@eemeli eemeli left a comment

Choose a reason for hiding this comment

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

Looks good overall, but see line comments.

aphillips and others added 3 commits December 4, 2023 12:39
Co-authored-by: Eemeli Aro <eemeli@mozilla.com>
Co-authored-by: Eemeli Aro <eemeli@mozilla.com>
@aphillips aphillips requested a review from eemeli December 4, 2023 20:43
aphillips and others added 3 commits December 4, 2023 12:54
Co-authored-by: Richard Gibson <richard.gibson@gmail.com>
Co-authored-by: Richard Gibson <richard.gibson@gmail.com>
Co-authored-by: Richard Gibson <richard.gibson@gmail.com>
@aphillips aphillips merged commit 5f52c9f into main Dec 5, 2023
@aphillips aphillips deleted the aphillips-unquoted-literal branch December 5, 2023 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
normative Issue affects normative text in the specification specification Issue affects the specification syntax Issues related with syntax or ABNF
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Forbid unquoted non-numeric literals as expression operands
3 participants