You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 27, 2022. It is now read-only.
Thanks! I think for hy_kernel to be what it can be, we'll need to go deeper
on the kernel model. I'll be on-site with the Jupyter/IPython core team
next week, and will discuss/lobby for getting an AST-driven kernel
execution mode made available, which would no doubt be interesting for many
types of DSL kernels.
On Thu, Mar 24, 2016 at 10:25 AM Justus Perlwitz [email protected]
wrote:
That sounds great, thanks for your answer. If you need any help, please let me know. Hy_kernel is a very valuable tool to me, so I'd love to help you push this project forward.
Unfortunately, I did it to learn hy, to learn a lisp, which is probably not the best person to have in the drivers' seat for vision! I'll try to put something down as to what the current challenges are, but the takeaway is:
the IPython kernel, which HyKernel subclasses, expects a string
this is partially to do magic stuff
hy wants to do stuff to the AST
so we need a way to do "just enough" string based stuff so you can use matplotlib, or something like that
and figure out how to get the ast directly into the shell
Of course, the righteous thing to do is to write a kernel from the ground up in hy that works with the kernel spec natively... but it's hard to give up so much from being able to ride the coattails of ipython, which always has the best jupyter stuff first (though scala is pretty intense). Perhaps there is a happy middle point... but any feedback is welcome!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If I run the following in a cell,
I am getting
back.
I'm using
and hy latest (from Git) @c3004ee0b11e917fd2fb07a055d201c513d7620f
The text was updated successfully, but these errors were encountered: