Skip to content

KQL syntax ambiguity #525

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

Open
lolbinarycat opened this issue May 21, 2025 · 1 comment
Open

KQL syntax ambiguity #525

lolbinarycat opened this issue May 21, 2025 · 1 comment

Comments

@lolbinarycat
Copy link
Contributor

'>' is a valid char for identifiers, so [a>b>c] could be parsed as [prop(a>b>c)] or [prop(a>b) > prop(c)] or [prop(a) > prop(b>c)].

which interpretation is correct?

@lolbinarycat
Copy link
Contributor Author

I think the grammar should be modified to require spaces around comparison and decedent operators.

as far as I can tell, any other solution would require unbounded lookahead, due to situations like [a>b>c > d>e>f>g].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant