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

Change precedence of Operations #32

Open
janiswehen opened this issue Apr 9, 2024 · 1 comment
Open

Change precedence of Operations #32

janiswehen opened this issue Apr 9, 2024 · 1 comment

Comments

@janiswehen
Copy link

janiswehen commented Apr 9, 2024

Hi,

I have overwritten the binary operator ^ to be the power function. (I want it to be a BinaryOperator and not just a simple function like pow(2, 4)) This works great, but it still has the low precedence of the XOR operator. To fix this I was thinking to overwrite the ExpressionParser but this feels hacky and wrong since this is not part of the public library.
Is there a better way of going about this?

@janiswehen
Copy link
Author

Is there any progress on this? @rbellens
Or should I provide more information?

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