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

Parsing some inputs that are invalid in Excel #27

Open
danielgesua opened this issue Oct 20, 2020 · 2 comments
Open

Parsing some inputs that are invalid in Excel #27

danielgesua opened this issue Oct 20, 2020 · 2 comments
Projects

Comments

@danielgesua
Copy link

Hi Lester,

I tried parsing "SUM((SUM(A2)-48):(SUM(A2)-48))" in your demo and got a valid answer (the sum of the 2nd row). However, while this works on your parser this would give a formula error in Excel.

Is this desirable behavior for your parser?

Best,

Daniel Gesua

@LesterLyu LesterLyu added this to TBD in V2 Nov 16, 2020
@LesterLyu
Copy link
Owner

The grammar in the project is different from MS Excel, the current grammar does allow SUM((SUM(A2)-48):(SUM(A2)-48)).
In the future release I may introduce a new way of checking the validity of some grammar.

@danielgesua
Copy link
Author

Nice. Thank you for this project by the way. It really helped us along with ours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
V2
TBD
Development

No branches or pull requests

2 participants