Sign inSign up

hhland/iclojure-notebook

By hhland

•Updated almost 11 years ago

Image
1

1.0K

hhland/iclojure-notebook repository overview

⁠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.

Tag summary

Content type

Image

Digest

sha256:8641eb1b3…

Size

492.7 MB

Last updated

almost 11 years ago

docker pull hhland/iclojure-notebook