-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DLang Jupyter Kernel #35
Comments
Yes, interesting indeed. Does that really need a REPL interface or could it be done via batch execution? |
It's very similar to a REPL (imho it's one), because you need to keep track of the stack / currently available symbols. |
Btw if you are unfamiliar with Jupyter, you can try a couple of Notebooks online |
A couple of popular kernels for statically typed languages: https://github.com/gibiansky/IHaskell |
I believe there are some that just execute cells as batch, but typically aren't able to share state across cells and are otherwise pretty limited. The ones in interpreted languages, or languages with a REPL seem to work better. |
Just to revive this issue a little bit. I basically just connected the packages |
Current limitations:
The second one won't work,because only the first one is imported as I have also seen some issues with variable declarations/statements as well (which according to unittests here should work). The general question is: should I try to fix it in my package, or should we make changes/adjustments/improvements to drepl? |
It looks like all your issues could be fixed in drepl, so that's very likely the way to go. The drepl isn't set into stone, so it's definitely possible to improve. |
It would be great to have a D Kernel for the Jupyter project (it's quite huge and basically every language is supported).
Documentation:
http://ipython.readthedocs.io/en/stable/development/index.html
Overview of existing kernels:
https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages
The text was updated successfully, but these errors were encountered: