-
-
Notifications
You must be signed in to change notification settings - Fork 656
Description
I spent a few hours writing a pexpect interface to Julia. There's no doctests, and I had to do some odd things to make it work well (e.g., using vt100 mode for the TERM so that errors get reported! actually making use of the control codes for much, much better synchronization; putting in a bunch of \n's to ensure that opening strings don't hang the interface). I'm too busy to doctest this and "do everything right" for Sage, but maybe somebody else wants to. I think there is potential value for some users in having a pexpect Julia interface in Sage, since it makes it possible to easily move (small) data back and forth between systems, compare algorithms implemented in both, etc. As with all the other interfaces, something at the C library level can be much faster and more scalable... but both approaches have unique value (in my opinion).
Link to code for this in SMC: https://github.com/sagemathinc/smc/blob/master/src/smc_sagews/smc_sagews/julia.py
CC: @staroste
Component: interfaces: optional
Branch/Commit: public/17230 @ 26e8060
Issue created by migration from https://trac.sagemath.org/ticket/17230