mu/shell
Kartik K. Agaram fe72699390 . 2021-03-08 21:14:06 -08:00
..
README.md . 2021-03-08 21:14:06 -08:00
cell.mu 7862 - shell: more informative traces for eval 2021-03-07 10:55:11 -08:00
eval.mu 7866 2021-03-07 19:46:21 -08:00
gap-buffer.mu 7842 - new directory organization 2021-03-03 22:21:03 -08:00
grapheme-stack.mu 7866 2021-03-07 19:46:21 -08:00
main.mu 7842 - new directory organization 2021-03-03 22:21:03 -08:00
parse.mu 7866 2021-03-07 19:46:21 -08:00
print.mu 7866 2021-03-07 19:46:21 -08:00
read.mu 7849 - shell: literal numbers 2021-03-04 22:05:39 -08:00
sandbox.mu . 2021-03-08 18:05:36 -08:00
tokenize.mu strip spaces when tokenizing 2021-03-08 17:54:07 -08:00
trace.mu get rid of ctrl-d/ctrl-u when browsing trace 2021-03-08 16:27:41 -08:00
vimrc.vim 7842 - new directory organization 2021-03-03 22:21:03 -08:00

README.md

A prototype shell for the Mu computer

Currently runs a tiny subset of Lisp. To build and run it from the top-level:

$ ./translate shell/*.mu      # generates disk.img
$ qemu-system-i386 disk.img

You can type in expressions, hit ctrl-s to see their results, and hit Tab to focus on the ... below and browse how the results were computed. Here's a demo. The bottom of the screen shows context-dependent keyboard shortcuts (there's no mouse in the Mu computer at the moment).

Known issues

  • There's no way to save to disk.

  • Don't press keys too quickly (such as by holding down a key). The Mu computer will crash (and often Qemu will segfault).