On Sunday, October 22, 2017 at 3:23:03 PM UTC-4, ellisonbg wrote:
>
> Hi all, 
>
> Does anyone know of any Jupyter kernels that have an immutable 
> namespace that flows between blocks of code? I am looking at how pure 
> functional languages implement persistent state in Jupyter kernels. 
>

I'm not sure what you mean about "an immutable namespace that flows between 
blocks of code", but our Calysto Processing kernel has each cell as its own 
"sketch". Each cell is preprocessed by Processing, compiled by Java (to 
give good error messages), and then rendered by Javascript. Here is an 
example notebook:

https://jupyter.brynmawr.edu/services/public/dblank/CS110%20Intro%20to%20Computing/2017-Fall/Notebooks/05-Movement.ipynb

There is no persistent state between cells, but if I were to try to tackle 
that, I'd probably do something like beakerX's "auto translate" and use 
JSON as an intermediary form.

-Doug
 

>
> Cheers, 
>
> Brian 
>
> -- 
> Brian E. Granger 
> Associate Professor of Physics and Data Science 
> Cal Poly State University, San Luis Obispo 
> @ellisonbg on Twitter and GitHub 
> bgra...@calpoly.edu <javascript:> and elli...@gmail.com <javascript:> 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/b2640b34-4791-4652-ad41-f09e7ccaaab5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to