module documentation
REPL App for Picoware Copyright (c) 2026 JBlanked GPL-3.0 License https://www.github.com/jblanked/Picoware Last Updated: 2026-05-07
| Function | run |
Run the app. |
| Function | start |
Start the app. |
| Function | stop |
Stop the app. |
| Function | __parse |
Execute input text and return the output as a string. |
| Function | _commit |
Append the output and a new prompt to the editor's existing text. |
| Function | _continue |
Append a continuation prompt for multi-line input. |
| Function | _get |
Return the text between the last prompt and the cursor. |
| Function | _is |
Return True if line opens a multi-line block and needs continuation. |
| Constant | _PROMPT |
Undocumented |
| Constant | _PROMPT |
Undocumented |
| Variable | _multiline |
Undocumented |
| Variable | _repl |
Undocumented |
| Variable | _text |
Undocumented |
Start the app.
| Parameters | |
viewViewManager | The view manager context. |
| Returns | |
bool | True on success. |
Execute input text and return the output as a string.
| Parameters | |
text:str | The input to execute. |
| Returns | |
str | The executed output. |
Append the output and a new prompt to the editor's existing text.
| Parameters | |
output:str | The output to append. |