fredokun / cl-jupyter

An enhanced interactive Shell for Common Lisp (based on the Jupyter protocol)
BSD 2-Clause "Simplified" License
199 stars 29 forks source link

Lisp to ipynb generator #14

Open mmaul opened 8 years ago

mmaul commented 8 years ago

I wrote a function to generate a notebook from a lisp file. Thought you might be interested, you can find it at: https://gist.github.com/mmaul/68f434766e0e82c6c22d

fredokun commented 8 years ago

Hi ! Sorry to take this late... That's a fine hack, I have to think about how I could integrate it, maybe by dispatching on some argument (similarly to the jupyter command)... Note that the converse is rather easy also (generating a lisp file from a notebook). I'm thinking about something when I'll find some time. Thanks !

mmaul commented 8 years ago

Oh yea about generating lisp from notebook, would be nice if markdown cells were included is the generated lisp file, say wrapped in a string block.