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

How about support parse '×' as '*' and '÷' as '/' in expressions? #14

Open
mhfan opened this issue Sep 5, 2022 · 1 comment
Open

Comments

@mhfan
Copy link
Contributor

mhfan commented Sep 5, 2022

No description provided.

@yds12
Copy link
Owner

yds12 commented Sep 5, 2022

Hi mhfan, thanks for your suggestion. For now, a replace can be done to make '×' into '*' and '÷' into '/'. But it would be nice to have direct support. I'll think about a design that could include this. At first glance, I think it probably would not be enabled by default to avoid slowing down the parser for a usecase that is not so common, but I think we should support custom symbols.

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