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

Fix lexing of arithmetic expressions without spaces #81

Merged
merged 5 commits into from
Aug 16, 2024
Merged

Conversation

aaronbembenek
Copy link
Contributor

Fixes #80

On this program:

rel a(i32)
rel b(i32)
rel ok

a(1-1).
b(2+2).

ok :- a(0), b(4).

we now get:

Parsing...
Finished parsing (0.058s)
Type checking...
Finished type checking (0.004s)
Rewriting and validating...
Finished rewriting and validating (0.13s)
Evaluating...
Finished evaluating (0.002s)

==================== SELECTED IDB RELATIONS ====================

---------- a (1) ----------
a(0)

---------- b (1) ----------
b(4)

---------- ok (1) ----------
ok

@aaronbembenek aaronbembenek merged commit e645eb5 into master Aug 16, 2024
2 checks passed
@aaronbembenek aaronbembenek deleted the issue-80 branch August 16, 2024 09:44
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.

Incorrect lexing of arithmetic expressions without spaces
1 participant