8000 Clarify when "additional processing" of a named value occurs by catamorphism · Pull Request #631 · unicode-org/message-format-wg · GitHub
[go: up one dir, main page]

Skip to content

Clarify when "additional processing" of a named value occurs #631

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 2 commits into from
Feb 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions spec/formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,11 @@ its resolved value is defined according to the implementation's specification.
Else, if the _expression_ contains an _annotation_,
its resolved value is defined by _function resolution_.

Else, the _expression_ will contain only either a _literal_ or a _variable_.

If the _expression_ consists of a _variable_,
Else, if the _expression_ consists of a _variable_,
its resolved value is defined by _variable resolution_.
An implementation MAY perform additional processing
when resolving the value of the _expression_.
when resolving the value of an _expression_
that consists only of a _variable_.

> For example, it could apply _function resolution_ using a _function_
> and a set of _options_ chosen based on the value or type of the _variable_.
Expand All @@ -151,8 +150,8 @@ when resolving the value of the _expression_.
> the implementation could interpret the _placeholder_ `{$date}` as if
> the pattern included the function `:datetime` with some set of default options.

Else, if the _expression_ consists of a _literal_,
its resolved value is defined by _literal resolution_.
Else, the _expression_ consists of a _literal_.
Its resolved value is defined by _literal resolution_.

> **Note**
> This means that a _literal_ value with no _annotation_
Expand Down
0