about summary refs log tree commit diff stats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 7858 - shell: anonymous fn expressionsKartik K. Agaram2021-03-061-3/+34
|
* 7857 - shell: first function callKartik K. Agaram2021-03-054-20/+338
|
* 7856 - shell: primitive functionsKartik K. Agaram2021-03-052-13/+119
|
* 7855Kartik K. Agaram2021-03-051-3/+20
|
* 7854 - shell: symbol lookupKartik K. Agaram2021-03-052-17/+46
|
* 7853Kartik K. Agaram2021-03-051-1/+88
|
alt'>
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264