about summary refs log tree commit diff stats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
...
* shell: render fake screensKartik K. Agaram2021-04-102-29/+120
| | | | 'print' turns out to not be working yet.
* .Kartik K. Agaram2021-04-101-1/+1
|
* shell: start of 'print' primitiveKartik K. Agaram2021-04-104-13/+103
|
* shell: structural equality checkKartik K. Agaram2021-04-093-3/+51
| | | | Mu can now compute (factorial 5)
* shell: ifKartik K. Agaram2021-04-091-0/+41
|
* shell: highlight matching paren for cursorKartik K. Agaram2021-04-092-17/+301
|
* shell: highlight matching close-parenKartik K. Agaram2021-04-092-2/+114
|
* .Kartik K. Agaram2021-04-091-10/+6
|
* shell: render primitives at the bottomKartik K. Agaram2021-04-081-2/+44
|
* .Kartik K. Agaram2021-04-082-2/+5
|
* shell: start rendering globalsKartik K. Agaram2021-04-082-1/+38
|
* shell: create space to display globalsKartik K. Agaram2021-04-083-5/+7
|
* shell: ctrl-u to clear sandboxKartik K. Agaram2021-04-061-4/+14
|
* shell: 'set' for defining globalsKartik K. Agaram2021-04-062-0/+62
| | | | Currently stateful, but still good for things.
* shell: quoteKartik K. Agaram2021-04-064-0/+76
|
* shell: now we can start adding primitivesKartik K. Agaram2021-04-062-0/+314
|
* shell: look up globalsKartik K. Agaram2021-04-062-31/+53
|
* shell: extensible array of globalsKartik K. Agaram2021-04-054-95/+151
| | | | I'm not bothering with full dynamic scope for now.
* .Kartik K. Agaram2021-04-051-1/+1
|
* shell: save repl input to disk before runningKartik K. Agaram2021-04-052-24/+31
|
* shell: ctrl-a/eKartik K. Agaram2021-04-051-0/+12
|
* support for arrow keysKartik K. Agaram2021-04-052-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mu's keyboard handling is currently a bit of a mess, and this commit might be a bad idea. Ideally keyboards would return Unicode. Currently Mu returns single bytes. Mostly ASCII. No support for international keyboards yet. ASCII and Unicode have some keyboard scancodes grandfathered in, that don't really make sense for data transmission. Like backspace and delete. However, other keyboard scancodes don't have any place in Unicode. Including arrow keys. So Mu carves out an exception to Unicode for arrow keys. We'll place the arrow keys in a part of Unicode that is set aside for implementation-defined behavior (https://en.wikipedia.org/wiki/C0_and_C1_control_codes#C1_controls): 0x80: left arrow 0x81: down arrow 0x82: up arrow 0x83: right arrow The order is same as hjkl for mnemonic convenience. I'd _really_ to follow someone else's cannibalization here. If I find one later, I'll switch to it. Applications that blindly assume the keyboard generates Unicode will have a bad time. Events like backspace, delete and arrow keys are intended to be processed early and should not be in text. With a little luck I won't need to modify this convention when I support international keyboards.
* shell: clean up unimplemented menu itemsKartik K. Agaram2021-04-052-17/+0
|
* .Kartik K. Agaram2021-04-051-0/+0
|
* .Kartik Agaram2021-04-051-1/+1
|
* .Kartik K. Agaram2021-03-281-6/+6
|
* explicitly pass screen and keyboard to mainKartik K. Agaram2021-03-261-4/+4
|
* bochs support for disk drivesKartik K. Agaram2021-03-231-0/+8
|
* writes to disk now workingKartik K. Agaram2021-03-231-0/+3
| | | | | | Tested by inserting a call into the shell, but we can't leave it in because every test ends up clobbering the disk. So it's now time to think about a testable interface for the disk.
* .Kartik K. Agaram2021-03-221-1/+1
|
* .Kartik K. Agaram2021-03-221-1/+1
|
* shell: gracefully handle missing data diskKartik K. Agaram2021-03-221-4/+9
|
* shell: read initial expression from secondary diskKartik K. Agaram2021-03-212-1/+36
| | | | See shell/README.md for (extremely klunky) instructions.
* .Kartik K. Agaram2021-03-081-1/+1
|
* .Kartik K. Agaram2021-03-081-3/+3
|
* .Kartik K. Agaram2021-03-081-1/+1
|
* .Kartik K. Agaram2021-03-081-0/+13
|
* readme for the Mu shellKartik K. Agaram2021-03-081-0/+8
|
* .Kartik K. Agaram2021-03-081-1/+1
|
* strip spaces when tokenizingKartik K. Agaram2021-03-082-0/+24
| | | | Thanks Max Bernstein for reporting this.
* get rid of ctrl-d/ctrl-u when browsing traceKartik K. Agaram2021-03-082-46/+30
| | | | Also clean up the menu. Mode-specific stuff goes after Tab.
* Add j/k keybindings for navigating traceMax Bernstein2021-03-081-0/+16
| | | | These are familiar for Vim users.
* 7866Kartik Agaram2021-03-076-69/+69
|
* 7865Kartik Agaram2021-03-071-1/+1
|
* 7864 - shell: clean up the trace some moreKartik K. Agaram2021-03-072-13/+88
|
* 7863 - shell: anonymous fn callsKartik K. Agaram2021-03-072-12/+99
|
* 7862 - shell: more informative traces for evalKartik K. Agaram2021-03-072-3/+25
| | | | | Also a bugfix in dealing with streams in cells that is becoming part of a pattern.
* 7861 - shell: anonymous fn calls without argsKartik K. Agaram2021-03-071-1/+30
| | | | ((fn () (+ 1 1)))
* 7860Kartik K. Agaram2021-03-062-46/+48
|
* 7859Kartik K. Agaram2021-03-061-2/+25
|