Skip to content

Instantly share code, notes, and snippets.

@mmaul
mmaul / to-ipynb.lisp
Created October 30, 2015 02:07
Lisp to Jupyter notebook converter
(defun to-ipynb (f o &key after-form (kernel "lisp"))
"Generate Ipython notebook, from a Lisp source file.
+ All top level forms get their own code blocks in the notebook.
+ String sections at the top level generate markdown blocks.
+ Processing of the file is stopped if the symbol 'CUT== is found
- Arguments:
- f : path to lisp source file