Skip to content

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 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
@eemeli eemeli added this to the LDML 47 milestone Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

editorial Issue is non-normative syntax Issues related with syntax or ABNF

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants