hissp.repl module¶
The Lissp Read-Evaluate-Print Loop. For interactive use.
- hissp.repl.ps1 = '#> '¶
String specifying the primary prompt of the REPL.
- hissp.repl.ps2 = '#..'¶
String specifying the secondary (continuation) prompt of the REPL.
- class hissp.repl.LisspREPL(locals=None, filename='<console>')¶
Bases:
code.InteractiveConsole
Lissp’s Read-Evaluate-Print Loop, layered on Python’s.
You can initialize the REPL with a locals dict, which is useful for debugging other modules. Call interact() to start.
- interact(banner=None, exitmsg=None)¶
Imports readline if available, then super().interact().
- hissp.repl.main(__main__=None)¶
REPL command-line entry point.