You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you creating and open sourcing this library. Not sure if you're still maintaining/using this library but just in case...
I've noticed some issues when I try to parse some expressions with brackets. For example if I feed in the latex 5 - ( 3 + 1 ) and then convert the result to math, I get 5-3+1 instead of 5-(3+1) I would expect.
At first I thought this might be related to an issue in the formatter, but digging a little further into the problem I see that the expressions 5 - 3 + 1 and 5 - (3 + 1) unexpectedly produce the same AST.
The text was updated successfully, but these errors were encountered:
timmckague
changed the title
Brackets are lost when parsing for formatting some expressions
Brackets are lost when parsing and formatting some expressions
Apr 10, 2022
First of all, thank you creating and open sourcing this library. Not sure if you're still maintaining/using this library but just in case...
I've noticed some issues when I try to parse some expressions with brackets. For example if I feed in the latex
5 - ( 3 + 1 )
and then convert the result to math, I get5-3+1
instead of5-(3+1)
I would expect.At first I thought this might be related to an issue in the formatter, but digging a little further into the problem I see that the expressions
5 - 3 + 1
and5 - (3 + 1)
unexpectedly produce the same AST.The text was updated successfully, but these errors were encountered: