diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-10-16 22:29:23 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-10-16 22:29:23 -0700 |
commit | 7244bf99dddec345383f362753f361c20c9623ef (patch) | |
tree | f998b28178eb46b283c2448f6a7d72463802e598 /apps/tile | |
parent | 16212c63cb8ef32a65e7f3f9405e4afdbaa9f19d (diff) | |
download | mu-7244bf99dddec345383f362753f361c20c9623ef.tar.gz |
7043 - the REPL is dead; long live the IVL
Diffstat (limited to 'apps/tile')
-rw-r--r-- | apps/tile/environment.mu | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu index c2128a0b..c059dd8b 100644 --- a/apps/tile/environment.mu +++ b/apps/tile/environment.mu @@ -55,6 +55,10 @@ fn initialize-environment-with-fake-screen _self: (addr environment), nrows: int initialize-environment self } +############# +# Iterate +############# + fn process _self: (addr environment), key: grapheme { $process:body: { var self/esi: (addr environment) <- copy _self @@ -423,6 +427,10 @@ $toggle-cursor-word:body: { } } +############# +# Visualize +############# + fn evaluate-environment _env: (addr environment), stack: (addr value-stack) { var env/esi: (addr environment) <- copy _env # functions |