Skip to content

Conversation

@eemeli
Copy link
Collaborator

@eemeli eemeli commented Oct 8, 2023

Implements the changes proposed in #469. Submitting this as a draft until that PR is merged as accepted.

The expression rule is here redefined as

expression = literal-expression / variable-expression / function-expression
literal-expression = "{" [s] literal [s annotation] [s] "}"
variable-expression = "{" [s] variable [s annotation] [s] "}"
function-expression = "{" [s] annotation [s] "}"

in order to make it easier for human readers, and to make variable-expression reusable in input-declaration. This isn't strictly speaking LL1, but it may be transformed to its earlier shape to make it LL1 again.

@eemeli eemeli marked this pull request as ready for review October 9, 2023 19:04
@eemeli eemeli added syntax Issues related with syntax or ABNF specification Issue affects the specification labels Oct 10, 2023
aphillips and others added 2 commits October 19, 2023 13:50
Co-authored-by: Stanisław Małolepszy <sta@malolepszy.org>
@eemeli eemeli merged commit 5065a51 into unicode-org:main Oct 23, 2023
@eemeli eemeli deleted the refactor-declarations branch October 23, 2023 19:23
@eemeli
Copy link
Collaborator Author

eemeli commented Oct 23, 2023

Merged with the modification agreed to on today's call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

3 participants