Optimized code runner and implemented basic IDE feature in app.ed
This commit is contained in:
@@ -27,6 +27,14 @@ Current installation process doesn't involve any `.mpy` module compilation, so,
|
||||
|
||||
As of now, T-DeckARD implements the following component modules.
|
||||
|
||||
### `deck.runtime`
|
||||
|
||||
A library for establishing runtime compatibility across various Python environments.
|
||||
|
||||
Exported functions:
|
||||
|
||||
- `runcode(code_string)`: compile and execute a Python program expressed as a string. Used by REPL and some applets.
|
||||
|
||||
### `deck.input`
|
||||
|
||||
A library for single-line and multi-line (ed-like) text input.
|
||||
@@ -240,6 +248,7 @@ The editor mode supports the following subset of POSIX ed commands in the standa
|
||||
- `s/old/new`: replace text in the range (doesn't support regex syntax from POSIX ed)
|
||||
- `f`: set the current filename to write to
|
||||
- `w`: save changes to the current filename
|
||||
- `x`: interpret the range as Python code and execute it immediately
|
||||
- `q`: quit (`q!` force-quits without prompting for saving changes)
|
||||
|
||||
### `app.llmchat`
|
||||
|
||||
Reference in New Issue
Block a user