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

improve parser for expressions, removing a previous limitation #65

Merged
merged 2 commits into from
Jan 9, 2024

Conversation

edg-l
Copy link
Member

@edg-l edg-l commented Jan 9, 2024

The previous limitation is that you could only do 4 + 4 and not 4 + 4 + 4, now its fixed, it also has correct precedence of operations (the precendece i used is like the one from C languages, but needs a proper specification).

You can now do things like

my_func((4 * 2) / 5 + 2 + 4 - (-5 - -6));

@unbalancedparentheses unbalancedparentheses merged commit 54352af into main Jan 9, 2024
4 checks passed
@edg-l edg-l deleted the improve_parser_for_expressions branch May 8, 2024 10:07
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