Skip to content
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

Digwatch compiler #1

Merged
merged 9 commits into from
Feb 16, 2016
Merged

Digwatch compiler #1

merged 9 commits into from
Feb 16, 2016

Conversation

henridf
Copy link
Contributor

@henridf henridf commented Feb 16, 2016

This commit removes the one remaining (known) difference with the sysdig
c++ parser: relational expression right-hand sides now _only_ need to be
quoted if they contain a paren or a space.

So you can now do things like "fd.name contains (.log and event.dir = <"
without needing to quote "*.log" or "<".
For example, `a.b in [1, 2]` is expanded to `a.b = 1 or a.b = 2`.
This is done over the AST, not filter text.
henridf added a commit that referenced this pull request Feb 16, 2016
@henridf henridf merged commit b97a1bf into master Feb 16, 2016
@mstemm mstemm deleted the parser-hacking branch July 12, 2016 19:41
@jacques- jacques- mentioned this pull request Mar 16, 2017
@strowi strowi mentioned this pull request May 15, 2023
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

Successfully merging this pull request may close these issues.

1 participant