Main Module that runs NPyhon Interpreter
An JavaScript-targeted online demo is available at <https://play.nimpylib.org>
Types
PyExecutor = object nextPrompt*: string flags*: PyCompilerFlags
- unstable. for karax Source Edit
Procs
proc feed(py: var PyExecutor; input: string) {....raises: [], tags: [RootEffect, ReadDirEffect, ReadIOEffect, WriteIOEffect], forbids: [].}
- Source Edit
proc interactiveShell() {....raises: [IOError], tags: [WriteIOEffect, RootEffect, ReadDirEffect, ReadIOEffect], forbids: [].}
- Source Edit
proc newPyExecutor(filename = Fstdin): PyExecutor {....raises: [], tags: [RootEffect, WriteIOEffect], forbids: [].}
- this shall be singleton Source Edit