Skip to content

parser: add separate grammar for > and < date operators - #162

Open
MJedr wants to merge 1 commit into
inspirehep:masterfrom
MJedr:date-before-after
Open

parser: add separate grammar for > and < date operators#162
MJedr wants to merge 1 commit into
inspirehep:masterfrom
MJedr:date-before-after

Conversation

@MJedr

@MJedr MJedr commented Oct 6, 2022

Copy link
Copy Markdown
Contributor

@MJedr
MJedr force-pushed the date-before-after branch 4 times, most recently from 81eb71b to 93a83aa Compare October 6, 2022 12:28
@MJedr
MJedr force-pushed the date-before-after branch from 93a83aa to ab62b4e Compare October 6, 2022 13:23
@@ -279,6 +282,9 @@ def visit_greater_equal_op(self, node):
return ast.GreaterEqualThanOp(value)

def visit_less_than_op(self, node):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shall we just drop these ones?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, we can't, they're derived from a different grammar

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.

2 participants