-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Implement REPL with Python stdlib code
and codeop
#25
Comments
That might be cleaner. I'm not sure how to do it though. The doctests are also closely tied to the REPL. I'm wondering how much they can or should hook into it. |
I'll look into it quickly. |
The REPL could maybe use a startup banner too. |
The sybil/doctest setup is in conftest.py, btw. |
Should we turn this into "Make a Jupyter kernel for Hissp" instead? Some links: |
No we shouldn't. It is a goal of Hissp proper to have no dependencies. (This restriction does not apply to its tests, which need not be distributed in the hissp package.) The basic included REPL should use only the standard library. We can certainly have a Lissp REPL based on IPython, but it must live in a separate repository, or at least be released as a separate package on PyPI. It will have independent releases and version numbers from Hissp itself. Which means we still need a basic one to include with Hissp. Hebigo, on the other hand, does not share this goal. I'm fine with that only having an IPython REPL to start as well as reasonable dependencies. |
Ah, yeah, then change it to ”Start a Project for a Hissp Jupyter Kernel". |
Rather than change this issue to the Kernel, we can add that as a separate issue. The original point of using the stdlib code/codeop may still be a good idea for the included basic REPL. |
I think the |
What do you think about using
code
andcodeop
to implement the basic REPL mechanics?The text was updated successfully, but these errors were encountered: