Require = after the identifier · Issue #63 · projectfluent/fluent · GitHub
Skip to content

Require = after the identifier #63

Description

@stasm

Right now the equals sing following the identifier = is part of the value production in the EBNF. Message without values are thus written like this:

foo-bar
    .attr = Attribute

I would like to change this to always require the = after the identifier. This would clearly demarcate the identifier and the indented body of the message, similar to Python's :.

foo-bar =
    .attr = Attribute

In the rare cases when the message should have an empty string for its value, the same explicit syntax as in #32 can be used:

foo-bar = {""}
    .attr = Attribute

Signoffs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions