augustt198 / latex2sympy

Parse LaTeX math expressions
MIT License
386 stars 162 forks source link

Possibly include in SymPy #1

Open moorepants opened 8 years ago

moorepants commented 8 years ago

Your software solves a longstanding issue in SymPy:

https://github.com/sympy/sympy/issues/5418

and is something that we'd really like to be included in SymPy.

Would you be interested in adding this to SymPy instead of having a standalone package? It'd certainly increase the usage and visibility.

augustt198 commented 8 years ago

Sounds great, I'd love to add this to SymPy! Should I create a pull request?

moorepants commented 8 years ago

Yes, you can create a pull request, but it may be good to open a discussion on the mailing list first. Since this depends on ANTLR we'd need to discuss making it an optional dependency.

hiamandeep commented 8 years ago

Any updates on this? @augustt198

langston-barrett commented 8 years ago

Any updates @augustt198?

ferret-guy commented 7 years ago

What if the package was distributed pre built? that would remove the ANTLR dependency for normal use.

moorepants commented 7 years ago

One option would be to build ANTLR for conda on conda forge (may already be there) and then we can utilize this package as an optional dependency for sympy. It would make the installation relatively painless.

ferret-guy commented 7 years ago

It actually is in conda forge, https://github.com/conda-forge/antlr-feedstock

nicodjimenez commented 7 years ago

Another option is to just include the python antrl runtime library as a hard dependency dependency in sympy, and just put the built parser binary in the repo, then antrl itself would be a dev dependency. In any case, for latex2sympy to be included inside sympy, someone inside the sympy community will have to shoulder the burden or it's never going to happen.

bollwyvl commented 6 years ago

Hey folks, over on #33, I've got a POC of packaging this repo, antlr4, and its runtimes in conda-forge-compatible recipes (not PR'd yet, for various reasons). Looks good, even on windows! Also started playing with a binder:

https://mybinder.org/v2/gh/bollwyvl/latex2sympy-demo/master

I also had a look around the community surrounding this repo, and had noticed that it is both stagnating and fragmenting, which seems unfair to the good work it already represents.

Doing a dive through various things, it seems like there are a few (not mutually exclusive) options:

I might not be the coder that does this, but am excited to help in any way i can!

moorepants commented 6 years ago

All sounds good. I just want to mention that we get lots of requests for this functionality in the sympy communication channels and that if it were part of sympy (with antrl as a optional dep) then the maintenance gets wrapped into sympy's flow which has advantages that I think outweigh those related to having a separate project.