Skip to content

hhland/ipython-clojure

 
 

Repository files navigation

ipython-clojure

A IPython kernel written in Clojure, this will let you run Clojure code from the IPython console and notebook

ipython-clojure

using it

  1. run make
  2. make a new profile with ipython profile create clojure
  3. add these lines to your ipython_config.py located in .ipython/profile_clojure/ipython_config.py
# Set the kernel command.
c = get_config()
c.KernelManager.kernel_cmd = ["/Users/rory/cache/ipython-clojure/bin/ipython-clojure",
                              "{connection_file}"]

# Disable authentication.
c.Session.key = b''
c.Session.keyfile = b''
  1. run the repl with ipython console --profile clojure

status

Should work for simple stuff in the REPL. Doesn't handle errors or any type of complex data from Clojure.

About

Write Clojure code in the IPython console and notebook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 64.6%
  • CSS 19.6%
  • JavaScript 9.6%
  • Shell 4.6%
  • Other 1.6%