-
Notifications
You must be signed in to change notification settings - Fork 22
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
STDIN Support with MathLine #8
Comments
Hi, please allow me some time to try out MathLine. Btw, is it portable across different platforms so I can bundle it with the server directly? |
@kenkangxgwe My apologies for missing your question! My GitHub notifications have been overwhelming, and this issue got lost in the crowd. It appears the command line arguments aren't working at all. Strange. I'll take a look at it. The original motivation for mathline was to use it with Python's pexpect. Here's an example of how to use pexpect. You would replace child = pexpect.spawn ('ftp ftp.openbsd.org') with something like child = pexpect.spawn ('mathline --usegetline=true') Of course, this won't work if the command line argument parsing is broken! |
@kenkangxgwe I believe I resolved the issue with the command line arguments not being respected. It turns out the issue was only with
Yes, I have tested it on macOS and various Linux distros, and it seems to work the same everywhere. I do not have access to a Windows development environment, but the code is standards compliant, so it should be fine. If not, I would love for you to submit a pull request to fix anything. |
Thank you @rljacobson , I created a pull request rljacobson/MathLine#4 and maybe you can give me some advice to the last two tasks listed in it. And I also created an issue rljacobson/MathLine#5 that requires the scripting. Thanks! |
+1 for the stdio support: I tried to use your language server in jupyter lab via jupyterlab-lsp. Unfortunately they only support stdio connections, so stdio support would be really nice for me and other jupyterlab users. |
This has been a well-known ( to people that know it) problem with Mathematica for years and is unlikely to change anytime soon. I wrote MathLine specifically to deal with this problem. It may be of help to you.
The text was updated successfully, but these errors were encountered: