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 to use escape characters? #19

Open
GauravKanted opened this issue Sep 22, 2019 · 0 comments
Open

How to use escape characters? #19

GauravKanted opened this issue Sep 22, 2019 · 0 comments

Comments

@GauravKanted
Copy link

GauravKanted commented Sep 22, 2019

I was just wondering maybe we could pass an array of arguments to the parser that when it encounters these symbols,or regex, to just ignore and move ahead. Somewhat like the replace function present in JavaScript, just instead of replacing the parser can move to the next character.

My end goal here is to convert the expression(and 1000's more) to the LaTeX format like this:
math exp - [(4/5)^2] = ? * {4/5}
math latex - [{\left(\frac{4}{5}\right)}^{2}] = ?\times{\frac{4}{5}}

So the special characters (?,= and {},[]) all are in place but just the math operation is converted to LateX code.

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

1 participant