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
about which I posted here.
Currently only configs for haskell and python have been added, but it should be easy to integrate your own repl shell.