about summary refs log tree commit diff stats
path: root/apps/hex
Commit message (Collapse)AuthorAgeFilesLines
* 5887 - reorganize libraryKartik Agaram2020-01-141-0/+0
| | | | | | | Layers 0-89 are used in self-hosting SubX. Layers 90-99 are not needed for self-hosting SubX, and therefore could use transitional levels of syntax sugar. Layers 100 and up use all SubX syntax sugar.
* 5847 - literal inputsKartik Agaram2019-12-311-0/+0
|
* 5804Kartik Agaram2019-12-081-0/+0
| | | | | Try to make the comments consistent with the type system we'll eventually have.
* 5803Kartik Agaram2019-12-071-0/+0
|
* 5792Kartik Agaram2019-12-051-0/+0
| | | | | Fix a bug in one test: it checks eax when the component under test returns nothing. It's been just accidentally passing all these months.
* 5782 - fix a widespread bug with Heap-sizeKartik Agaram2019-11-301-0/+0
|
* 5778Kartik Agaram2019-11-291-0/+0
|
* 5769 - support uppercase hex in SubXKartik Agaram2019-11-281-0/+0
|
* 5765Kartik Agaram2019-11-261-0/+0
| | | | | | | | | A couple more primitives now working. In the process I ran into an issue with some buffer filling up when running ntranslate. Isolating it to survey.subx was straightforward, but --trace ran out of RAM, and --trace --dump ran out of (7GB of) disk. In the end what helped was just repeatedly inserting exits at different points, and I realized there was a magic number that hadn't been turned into a named constant.
* 5752Kartik Agaram2019-11-181-0/+0
| | | | | | | Support binary operations with reg/mem and reg operands. Everything is passing. However, the self-hosting translator now generates some discrepancies compared to the C++ translator :(
* 5714Kartik Agaram2019-10-251-0/+0
| | | | Replace calculations of constants with labels.
* 5687Kartik Agaram2019-09-231-0/+0
| | | | | | | | | Move stack operations to a layer of their own. It was some short-term pain to take out the syntax sugar from it, but we need access to this layer from braces, which can't depend on sugar since it's part of sugar. Just simpler to keep one clear line and not have to build sometimes with some sugar but not others.
* 5676Kartik Agaram2019-09-191-0/+0
|
* 5675 - move helpers from subx-common into layersKartik Agaram2019-09-191-0/+0
| | | | | | | | | | | | | | | | This undoes 5672 in favor of a new plan: Layers 000 - 099 are for running without syntax sugar. We use them for building syntax-sugar passes. Layers 100 and up are for running with all syntax sugar. The layers are arranged in approximate order so more phases rely on earlier layers than later ones. I plan to not use intermediate syntax sugar (just sigils without calls, or sigils and calls without braces) anywhere except in the specific passes implementing them.
* 5673 - standardize a few knobsKartik Agaram2019-09-191-0/+0
|
* 5672 - move hex out of appsKartik Agaram2019-09-191-0/+0
|
* 5669Kartik Agaram2019-09-191-0/+0
|
* 5668 - start reorg to permit syntax sugar in layersKartik Agaram2019-09-191-0/+0
| | | | | | | | | | | | | | | | | | | Right now we always build the library before any apps. Apps are where our syntax sugar translators (sigils, calls, braces) live. So we can't use sugar in the standard library. New idea: move all code for SubX phases into the top-level. Perhaps we should also just build a single file rather than pipeline stages. But for now we'll build each phase by building up to some specific layer. This will simplify test_apps and move lots of one-off logic to a more standard form in test_layers. I'm also going to reorg existing layers so that we introduce each phase at a point where it mostly only gets the helpers it needs. This commit itself is just cleaning up some common strings. Using explicit names for them streamlines binaries a bit.
* 5647 - experimental support for swapping OSKartik Agaram2019-09-111-0/+0
|
* 5630Kartik Agaram2019-09-061-0/+0
|
* 5623Kartik Agaram2019-09-041-0/+0
|
* 5616Kartik Agaram2019-09-041-0/+0
|
* 5608 - write int to streamKartik Agaram2019-09-021-0/+0
|
* 5600Kartik Agaram2019-08-311-0/+0
|
* 5591Kartik Agaram2019-08-261-0/+0
|
* 5586 - bugfix: no desugar inside string literalsKartik Agaram2019-08-251-0/+0
|
* build out all variants for skipping whitespaceKartik Agaram2019-08-241-0/+0
| | | | skip {whitespace, non-whitespace} x {from stream, from slice}
* done implementing all variants of 'get'Kartik Agaram2019-08-131-0/+0
|
* done with get-or-stopKartik Agaram2019-08-131-0/+0
|
* half-done testing get-or-stopKartik Agaram2019-08-131-0/+0
| | | | | | Probably not needed for desugar; I'm just working through what we may replace the calls to 'get-slice' with if and when we decide to start focusing error messages and so writing tests for them.
* standardize test input/output/error streamsKartik Agaram2019-08-131-0/+0
|
* .Kartik Agaram2019-08-131-0/+0
|
* .Kartik Agaram2019-08-131-0/+0
|
* new variant: maybe-get-sliceKartik Agaram2019-08-131-0/+0
|
* new variant: maybe-get returns null on failureKartik Agaram2019-08-121-0/+0
|
* better error message when get abortsKartik Agaram2019-08-121-0/+0
|
* 5485 - promote SubX to top-levelKartik Agaram2019-07-271-0/+0
html/041name.cc.html?h=hlt&id=672e3e50c6ed6de161e40aa256c3fc0f2b1f7cf9'>672e3e50 ^
a654e4ec ^
cd9bb850 ^







298f8065 ^
4690ce81 ^
cd9bb850 ^
4690ce81 ^
cd9bb850 ^

4690ce81 ^

cd9bb850 ^
4690ce81 ^
672e3e50 ^

a654e4ec ^
cd9bb850 ^









672e3e50 ^
cd9bb850 ^
4690ce81 ^
cd9bb850 ^

4690ce81 ^

cd9bb850 ^
4690ce81 ^

672e3e50 ^

4690ce81 ^

65361948 ^

4690ce81 ^

c842d90b ^
9542bb11 ^

4690ce81 ^

b2566a84 ^
4690ce81 ^
65361948 ^
672e3e50 ^

a654e4ec ^
76755b28 ^
672e3e50 ^

a654e4ec ^
672e3e50 ^


a654e4ec ^
d009e158 ^
4690ce81 ^
32b8fac2 ^
76755b28 ^
672e3e50 ^
672e3e50 ^


4690ce81 ^

a654e4ec ^
4690ce81 ^
2f02189d ^
672e3e50 ^


4690ce81 ^



c5ffb6e1 ^
65361948 ^

4690ce81 ^



c5ffb6e1 ^
65361948 ^

298f8065 ^
4690ce81 ^


c5ffb6e1 ^
65361948 ^


32b8fac2 ^

















9570363a ^
672e3e50 ^
4690ce81 ^
9570363a ^
672e3e50 ^



672e3e50 ^
4fe9f5e8 ^
9570363a ^
76755b28 ^
4690ce81 ^
a654e4ec ^
672e3e50 ^

76755b28 ^
672e3e50 ^
4fe9f5e8 ^
76755b28 ^

4690ce81 ^
a654e4ec ^
65361948 ^
76755b28 ^
65361948 ^
76755b28 ^

4690ce81 ^
a654e4ec ^
65361948 ^

76755b28 ^
65361948 ^
76755b28 ^
4690ce81 ^
a654e4ec ^
65361948 ^
76755b28 ^

65361948 ^
76755b28 ^
4690ce81 ^
a654e4ec ^
65361948 ^
76755b28 ^

65361948 ^
32b8fac2 ^

672e3e50 ^
9570363a ^
4690ce81 ^
a654e4ec ^


672e3e50 ^



76755b28 ^
672e3e50 ^
32b8fac2 ^





4690ce81 ^
32b8fac2 ^
4690ce81 ^
62a52ffb ^
a654e4ec ^

32b8fac2 ^
4690ce81 ^
db1f56c8 ^


62a52ffb ^
672e3e50 ^



9570363a ^
4690ce81 ^
a654e4ec ^

672e3e50 ^






9570363a ^
4690ce81 ^
9570363a ^


32b8fac2 ^
672e3e50 ^
65361948 ^
2f02189d ^
32b8fac2 ^

672e3e50 ^
76755b28 ^
672e3e50 ^
4690ce81 ^

c842d90b ^
9542bb11 ^

dbe12410 ^
4690ce81 ^
62a52ffb ^
a654e4ec ^

c842d90b ^
4690ce81 ^
db1f56c8 ^


62a52ffb ^
672e3e50 ^



a654e4ec ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342