# Repl bridge - Run commands in a repl in the background

**URL:** <https://discuss.kakoune.com/t/repl-bridge-run-commands-in-a-repl-in-the-background/649>\
**Category:** Plugins\
**Tags:** repl\
**Created:** [July 8, 2019, 10:09am UTC](https://discuss.kakoune.com/t/repl-bridge-run-commands-in-a-repl-in-the-background/649 "2019-07-08T10:09:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JJK96](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/jjk96/32/305_2.png) [@JJK96](https://discuss.kakoune.com/u/JJK96)\
**Post date:** [July 8, 2019, 10:09am UTC](https://discuss.kakoune.com/t/repl-bridge-run-commands-in-a-repl-in-the-background/649/1 "2019-07-08T10:09:20Z")

</div>

> **[GitHub - JJK96/kakoune-repl-bridge: Perform multiple calculations in the same...](https://github.com/JJK96/kakoune-repl-bridge)**
>
> Perform multiple calculations in the same repl in the background - GitHub - JJK96/kakoune-repl-bridge: Perform multiple calculations in the same repl in the background

This bridge runs a repl shell (interpreter) for a given programming language (python and haskell have configs currently) in the background and can send selections through the shell. This way you can do calculations while keeping memory of previous variables, so this enables you to use variables in later calculations.

This is a generalized version of [GitHub - JJK96/kakoune-python-bridge: Send selections to python while keeping history of previous commands](https://github.com/JJK96/kakoune-python-bridge)  
about which I posted [here](https://discuss.kakoune.com/t/python-bridge).

Currently only configs for haskell and python have been added, but it should be easy to integrate your own repl shell.

---

<div class="post-metadata">

**Author:** ![andreyorst](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/andreyorst/32/29_2.png) [@andreyorst](https://discuss.kakoune.com/u/andreyorst)\
**Post date:** [July 8, 2019, 12:47pm UTC](https://discuss.kakoune.com/t/repl-bridge-run-commands-in-a-repl-in-the-background/649/2 "2019-07-08T12:47:12Z")

</div>

Nice plugin! I wonder if it will be possible to make something like [geiser](https://gitlab.com/jaor/geiser) for LISP environment. Geiser not only provides ability to evaluate the LISP code in a repl window, but also provides completions to the editor and some other features featured in feature list in readme.
