tkf / emacs-ipython-notebook

IPython notebook client in Emacs
tkf.github.com/emacs-ipython-notebook/
GNU General Public License v3.0
548 stars 51 forks source link

jupyter + julia #165

Open berceanu opened 9 years ago

berceanu commented 9 years ago

as you probably know, ipython evolved into jupyter, which is language-agnostic i am interested in using a julia kernel, can that be done with emacs-ipython-notebook?

millejoh commented 9 years ago

Theoretically possible, though not with tkf's code, unfortunately, as it only supports Ipython version earlier than 2.0.

At the moment ein at https://github.com/millejoh/emacs-ipython-notebook supports 2.x and 3.x, but only the python kernel. I think getting ein to connect to a non-python kernel should be relatively easy, but I am not sure how support in the notebook will hash out as there is a lot of code that depends on the kernel being python.

Definitely worth a look, so I will see what I can do over the next few weeks/months.

berceanu commented 9 years ago

That would be great to have :D By the way, you could have a look at https://github.com/emacs-ess/ESS, they already support a lot of Julia's functionality.

On 04/23/2015 08:07 PM, John Miller wrote:

Theoretically possible, though not with tkf's code, unfortunately, as it only supports Ipython version earlier than 2.0.

At the moment ein at https://github.com/millejoh/emacs-ipython-notebook supports 2.x and 3.x, but only the python kernel. I think getting ein to connect to a non-python kernel should be relatively easy, but I am not sure how support in the notebook will hash out as there is a lot of code that depends on the kernel being python.

Definitely worth a look, so I will see what I can do over the next few weeks/months.

— Reply to this email directly or view it on GitHub https://github.com/tkf/emacs-ipython-notebook/issues/165#issuecomment-95673599.

rodonn commented 8 years ago

I played around with using the IJulia kernel with ein and it 'mostly' worked. the syntax highlighting and indenting seem to be using Python rules, which mostly works since the syntaxes are not too different, but occasionally I had to fight against automatic indenting. The other thing 'missing' from an Julia perspective was the ability to input unicode variables using latex synatx e.g. \theta. (It's possible the feature is there and I just wasn't doing it the right way).