Skip to content

Is it possible to handle keywords as identifiers when the syntax clearly requires identifiers? #35

@dallmair

Description

@dallmair

We stumbled upon this in expressions: Trying to evaluate "availability.to" fails with the error TokenExpected: "Found 'TO' but expected ''." Of course we can write "availability.[to]" to clearly mark "to" as identifier, but it is not very intuitive to users, especially when it's clear that an identifier is required.

So, is it possible to relax the strictness a bit and treat keywords as identifiers when identifiers are expected? Is it desirable to do so in the bigger context of NQuery? What would the consequences be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions