Skip to content
This repository has been archived by the owner on Jul 11, 2021. It is now read-only.

Clean up properties before parsing #22

Open
Faterou opened this issue Apr 18, 2016 · 0 comments
Open

Clean up properties before parsing #22

Faterou opened this issue Apr 18, 2016 · 0 comments

Comments

@Faterou
Copy link
Contributor

Faterou commented Apr 18, 2016

Originally reported by: Sylvain Hallé (Bitbucket: sylvainhalle, GitHub: sylvainhalle)


Parsing fails when a formula has a pair of well-balanced, but superfluous parentheses. Example: left-hand side of

((blabla)) And (blabla)

Instead of complexifying the grammar to take this into account, we could easily code a simple cleanup method that fixes parentheses before sending the string to the interpreter.


Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant