diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-02-21 21:21:36 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-02-21 21:21:39 -0800 |
commit | 7e9e65eece359d6bb28d202eec035cf7acc5118a (patch) | |
tree | bc342dbee0f97e684aabed0c415e6a6722c16da1 /baremetal/shell/main.mu | |
parent | d7c7488398474d8310539e850edd0c3de2030d3d (diff) | |
download | mu-7e9e65eece359d6bb28d202eec035cf7acc5118a.tar.gz |
7771
We might not scan directly through the gap buffer after all. Premature optimization?
Diffstat (limited to 'baremetal/shell/main.mu')
-rw-r--r-- | baremetal/shell/main.mu | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/baremetal/shell/main.mu b/baremetal/shell/main.mu index 262b9829..f3f6240c 100644 --- a/baremetal/shell/main.mu +++ b/baremetal/shell/main.mu @@ -2,6 +2,9 @@ # A Lisp with indent-sensitivity and infix, no macros. Commas are ignored. fn main { + var interpreter-storage: interpreter + var interpreter/edi: (addr interpreter) <- address interpreter-storage +#? initialize-interpreter interpreter var sandbox-storage: sandbox var sandbox/esi: (addr sandbox) <- address sandbox-storage initialize-sandbox sandbox @@ -12,7 +15,7 @@ fn main { compare key, 0 loop-if-= # no way to quit right now; just reboot - edit-sandbox sandbox, key + edit-sandbox sandbox, key, interpreter } loop } |