All Projects → diadochos → org-babel-eval-in-repl

diadochos / org-babel-eval-in-repl

Licence: MIT License
Send and eval org-mode babel code blocks in various REPLs (therefore it's async)

Programming Languages

emacs lisp
2029 projects

Projects that are alternatives of or similar to org-babel-eval-in-repl

clojure
Practicalli Clojure REPL Driven Development
Stars: ✭ 40 (-18.37%)
Mutual labels:  repl
ts-c99-compiler
ANSI C 16bit Compiler + NASM Assembler + Intel 8086 / 80186 + X87 emulator written entirely in TypeScript
Stars: ✭ 78 (+59.18%)
Mutual labels:  repl
Eorg
new version: https://github.com/SoftMaple/Editor
Stars: ✭ 27 (-44.9%)
Mutual labels:  org-mode
dotfiles
Personal config and utils for emacs, vim, tmux, i3, git, etc.
Stars: ✭ 29 (-40.82%)
Mutual labels:  org-mode
emacs-modified-windows
Mirror of the GitLab project Emacs Modified for Windows
Stars: ✭ 79 (+61.22%)
Mutual labels:  org-mode
jsxt
The collection of Javascript / JScript / VBScript extensions, tools and more
Stars: ✭ 23 (-53.06%)
Mutual labels:  repl
replay-csharp
An editable C# REPL (Read Eval Print Loop) powered by Roslyn and .NET Core
Stars: ✭ 69 (+40.82%)
Mutual labels:  repl
org-tanglesync.el
A package to pull external changes into an org-mode source block if that block is tangled to an external file
Stars: ✭ 80 (+63.27%)
Mutual labels:  org-mode
org-beamer-cn
[Deprecated] org-mode Simple Chinese Template for Beamer
Stars: ✭ 23 (-53.06%)
Mutual labels:  org-mode
magic-console
Interactive programming for Atom
Stars: ✭ 13 (-73.47%)
Mutual labels:  repl
await-outside
Await outside of async functions
Stars: ✭ 19 (-61.22%)
Mutual labels:  repl
moses-smt
Dock You a Moses: Moses Statistical MT in a container
Stars: ✭ 12 (-75.51%)
Mutual labels:  repl
org parser
An Org Mode parser for Dart
Stars: ✭ 21 (-57.14%)
Mutual labels:  org-mode
repline
Haskeline wrapper for GHCi-like REPL interfaces
Stars: ✭ 98 (+100%)
Mutual labels:  repl
zettel-mode
A Zettelkasten-style note-taking helper
Stars: ✭ 32 (-34.69%)
Mutual labels:  org-mode
babel
A Leiningen project template for literate Clojure projects w/ org-mode
Stars: ✭ 74 (+51.02%)
Mutual labels:  org-mode
ptrepl
Run command as REPL with completion(based on prompt_toolkit)
Stars: ✭ 38 (-22.45%)
Mutual labels:  repl
preview-org-html-mode
Emacs minor mode for an (optionally) live preview of Org exports to HTML using Xwidgets.
Stars: ✭ 16 (-67.35%)
Mutual labels:  org-mode
sbcli
A REPL for my SBCL needs
Stars: ✭ 68 (+38.78%)
Mutual labels:  repl
cuic
Clojure UI testing with Chrome
Stars: ✭ 23 (-53.06%)
Mutual labels:  repl

MELPA MELPA Stable Travis CI

org-babel-eval-in-repl

Execute babel source code blocks with eval-in-repl.

Demonstration

Features

  • Async execution (because it uses an external process!)
  • Babel execution without the output written in the buffer (Less visual distraction! Output is reproducible as long as the code is saved)

Installation

Available via MELPA (Set up MELPA if you haven't already). Run

M-x package-install RET org-babel-eval-in-repl RET

Usage

No keybindings are provided by default (because I couldn't find one that's appropriate). Create your own comfortable keybind for execution. Here's my case:

(with-eval-after-load "ob"
  (require 'org-babel-eval-in-repl)
  (define-key org-mode-map (kbd "C-<return>") 'ober-eval-in-repl)
  (define-key org-mode-map (kbd "M-<return>") 'ober-eval-block-in-repl))

See the wiki for more usage (you can find more practical keybindings)

Recommended config (optional):

(This prevents the cursor to jump to the repl buffer after execution. I was more comfortable with this)

(with-eval-after-load "eval-in-repl"
  (setq eir-jump-after-eval nil))

Example

#+BEGIN_SRC ruby
p "Test"
#+END_SRC

Press C-<return> on the source code.

Available languages

Available languages (Prepared in the package) Requirements
matlab matlab-mode settings
R ESS-mode
stata
Available languages (Delegated to eval-in-repl) Requirements
ruby
clojure
racket
scheme
hy
emacs-lisp
javascript
ocaml
prolog
python
sh
lisp
perl
sml

Contributors

Check out here for a list of contributors.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].