-
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
Repl should support :exec, :execute expr command #138
Comments
Yes, the output from these commands in IDE mode is a path to a temporary file that contains the generated executable. This is so that they can do IO actions with access to a real console, and to give the IDE the flexibility to run them how it wants. So in Emacs, they launch in new comint buffers, but another tool could also pop them up in a native terminal window, use whatever the local equivalent of comint is, or (in the simplest case) give the user a command to paste into a terminal. |
Would like this fixed as the REPL is the nicest place to exec |
Relates to idris-hackers#138. Copy the path of `:exec expr` to the clipboard and present a atom notification. This solution is not ideal, but I could not find a comint buffer for atom.
The issue is fixed for the time being, unfortunately I was not able to find a good package to support better feature support. Will address this again at a later time. |
The repl lets the programmer execute arbitrary expressions as long as they have a show instances.
Using this in the atom idris repl yields a reponse which seems to contain a path to an executable. The output of that executable needs to be piped back into the repl view.
Sample response from idris:
The text was updated successfully, but these errors were encountered: