Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Literal keys contents / values #1036

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 3 commits into from
Feb 21, 2025
Merged

Conversation

macchiati
Copy link
Member

See #1028

@macchiati macchiati marked this pull request as ready for review February 21, 2025 02:12
@macchiati macchiati requested review from aphillips, eemeli and gibson042 and removed request for aphillips and eemeli February 21, 2025 02:12
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.

Rather than defining the value of a literal, it's clearer if we define the string value of a literal.

That's a term that can be naturally used in the places referring to it, and more directly incorporates "string" as a qualifier for "value", a term that we've tried to avoid using unadorned.

Copy link
Member

@aphillips aphillips left a comment

Choose a reason for hiding this comment

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

I like @eemeli's suggestions. I suggest rewording one of them, tho...

@aphillips aphillips added syntax Issues related with syntax or ABNF editorial Issue is non-normative LDML47 LDML 47 Release (Stable) labels Feb 21, 2025
Merge @eemeli's suggestions plus the "forked" suggestion from Mark

Co-authored-by: Eemeli Aro <[email protected]>
@aphillips aphillips requested a review from eemeli February 21, 2025 19:28
Comment on lines +759 to +763
The **_<dfn>string value</dfn>_** of a _literal_
for _unquoted literals_ is the text content of that _literal_;
or for _quoted literals_, the text content of that _literal_
after removing the enclosing `|` characters
then unescaping any escaped characters.
Copy link
Collaborator

Choose a reason for hiding this comment

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

This feels a bit clumsy, but not objectionably so.

@aphillips aphillips merged commit 2eb48cf into main Feb 21, 2025
1 check passed
@aphillips aphillips deleted the macchiati-issue-1028-literals branch February 21, 2025 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial Issue is non-normative LDML47 LDML 47 Release (Stable) syntax Issues related with syntax or ABNF
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants