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

Integrating cl-jupyter-widgets with cl-jupyter #40

Open drmeister opened 6 years ago

drmeister commented 6 years ago

The future home of the cl-jupyter-widgets ASDF system is found here:

https://github.com/clasp-developers/cl-jupyter-widgets

It's not quite ready for prime-time - we need to take another run at cleaning up the documentation and the source code.

It's translated from the ipython widgets code and is compatible with iPython widgets 7.0

It works in Clasp - you can try it out using the docker image here... https://hub.docker.com/r/drmeister/cando/

But there is a problem in sbcl that we haven't debugged yet.

You can test cl-jupyter-widgets by cloning this github repo into your ~/quicklisp/local-projects and using: (ql:quickload "cl-jupyter-widgets")

The way we developed and tested this code is to insert print statements in the ipython-widgets code and turn on logging in cl-jupyter-widgets and then compare the JSON messages that are sent back and forth to the Common Lisp kernel with the traffic sent back and forth by a Python kernel. Once they match - the front end and Jupyter machinery can't tell the difference.

We are currently focused on getting everything working with the upcoming jupyter-lab environment. This is including some other jupyter widgets like cl-nglview and cl-bqplot.

drmeister commented 5 years ago

We had to make some changes to how jupyter widgets are packaged to ease keeping up with the rapidly changing Python jupyter widgets.

https://github.com/clasp-developers/cl-ipykernel.git https://github.com/clasp-developers/cl-ipywidgets.git https://github.com/clasp-developers/cl-nglview.git https://github.com/clasp-developers/cl-bqplot.git