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
For me, the problem is the same of eval. How to have a running context and provide new code compiled after the first one?
Right now, I see two ways:
Use an interpreter
Compile and link the new code
For the interpreter, the https://github.com/RustPython/RustPython guys are building a promissing bytecode interpreter of CPython bytecodes. I can imagine Grumpy the future falling back to use it, or to have an own interpreter just to run eval stuff, but is unlikely.
A more feasible approach is to compile a dylib and link to the running grumpy process via the plugin feature of recent Go runtimes. The downside is that it needs a complete Go toolchain in the machine trying to do an eval, or access to a remote one with such capability plus the confidence to use external binary blobs.
google#9 opened by @waitingkuo on 4 Jan 2017
Is it possible to launch a python interactive shell?
The text was updated successfully, but these errors were encountered: