Open moorepants opened 8 years ago
Sounds great, I'd love to add this to SymPy! Should I create a pull request?
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.
Any updates on this? @augustt198
Any updates @augustt198?
What if the package was distributed pre built? that would remove the ANTLR dependency for normal use.
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.
It actually is in conda forge, https://github.com/conda-forge/antlr-feedstock
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.
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:
entry_point
or something for special interpretations without putting the burden on the end user)mathematica
issueI might not be the coder that does this, but am excited to help in any way i can!
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.
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.