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

Support basic mathematical operations on the grammer #25

Open
vivekmittal opened this issue Sep 9, 2022 · 2 comments
Open

Support basic mathematical operations on the grammer #25

vivekmittal opened this issue Sep 9, 2022 · 2 comments

Comments

@vivekmittal
Copy link

It would be great if basic mathematical operations can be accommodated in the grammar.

E.g.

x+4 eq 10
x%20 eq 1

@nikunjy
Copy link
Owner

nikunjy commented Sep 23, 2022

I am happy to extend if you wanna submit a PR.

@nikunjy
Copy link
Owner

nikunjy commented Jan 9, 2023

Just remembered this issue. You could lift the grammar from here https://github.com/nikunjy/antlr-calc-go

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

2 participants