Skip to content
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

Add the ability to start a REPL #1

Closed
yuyichao opened this issue Mar 31, 2016 · 7 comments
Closed

Add the ability to start a REPL #1

yuyichao opened this issue Mar 31, 2016 · 7 comments

Comments

@yuyichao
Copy link
Contributor

Ref JuliaLang/julia#8715

It need not be very sophisticated, and I'm not sure how we'll integrate the shell and help features, but basic functionality would be much better than nothing.

@tpapp
Copy link
Collaborator

tpapp commented Aug 1, 2016

ESS, which incorporates julia-mode from this repo, already has a sophisticated infrastructure for running a REPL.

@jballanc
Copy link

jballanc commented Aug 8, 2016

I think it would be nice to be able to use a Julia REPL independent of ESS, but at the same time I don't know that this belongs in julia-mode. Perhaps we need a separate project a la cider for Clojure.

@tpapp
Copy link
Collaborator

tpapp commented Sep 14, 2016

I got tired of ESS and wrote a simple REPL interface for julia-emacs, using term in Emacs. Works fine for my purposes, basically allows sending code to the REPL, making sure there is one running. For everything else (completion, documentation, etc), you can use the REPL.

The whole thing is around 100 LOC and works fine for my purposes. The question is if I should submit a PR to julia-emacs, or make a separate git repo with the source.

PS: I believe that ESS is not ideal when you need more than the basic REPL it can handle. I faced this issue when I started using Gallium, which won't work inside ESS.

@tpapp
Copy link
Collaborator

tpapp commented Oct 27, 2016

Update: I did some cleanup and made my REPL code available at https://github.com/tpapp/julia-repl. It is a fairly simple minor mode for running along julia-emacs. Basically starts a REPL using term, and has some keybindings for sending code to it. For all the extras you use the REPL. I am now happy with this solution, as it allows me to use Julia with Gallium from inside Emacs.

@glycerine
Copy link

I concur with @tpapp 's thoughts.

Any emacs mode for a language that has a REPL really should support interacting with the repl.

I have an emacs mode, zjulia, which I've adapted to allow stepping through code from emacs buffer to julia repl as well. It would be lovely to have either @tpapp 's julia-repl or zjulia integrated with the julia-emacs mode for syntax highlighting.

https://github.com/glycerine/zjulia-emacs-mode-julialang

@non-Jedi
Copy link
Contributor

This was addressed in JuliaLang/julia#10389 and can be closed I believe

@tpapp
Copy link
Collaborator

tpapp commented Dec 25, 2019

Yes, I agree, closing this.

@tpapp tpapp closed this as completed Dec 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants