about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 4269 - start validating alloc-ids on lookupKartik Agaram2018-06-243-5/+58
| | | | | | | | | | Seems incredible that this is all it took. Needs more testing. I also need to rethink how we organize our layers about addresses. Alloc-id stuff is scattered everywhere. The space for alloc-ids is perhaps unavoidably scattered. Just assume the layout from the start. But it seems bad that the scenario testing the lookup-time validation is in the 'abandon' layer when the code is in the 'lookup' layer.
* 4268 - add a simple validation of the alloc-idKartik Agaram2018-06-241-0/+9
| | | | Tautological for now since all alloc-ids are zero.
* 4267Kartik Agaram2018-06-241-4/+0
| | | | Drop a stray hunk that is obsoleted by 'deaddress'.
* 4266 - space for alloc-id in heap allocationsKartik Agaram2018-06-2436-648/+926
| | | | This has taken me almost 6 weeks :(
* 4265Kartik Agaram2018-06-1711-136/+136
| | | | Standardize use of type ingredients some more.
* 4264Kartik Agaram2018-06-1714-0/+0
| | | | Undo the relayout of 4259.
* 4263Kartik Agaram2018-06-173-41/+23
| | | | | Implement literal constants before type abbreviations, reducing some unnecessary tangling.
* 4262 - literal 'null'Kartik Agaram2018-06-1748-246/+268
|
* 4261 - start using literals for 'true' and 'false'Kartik Agaram2018-06-1748-368/+340
| | | | | | | | | They uncovered one bug: in edit/003-shortcuts.mu <scroll-down> was returning 0 for an address in one place where I thought it was returning 0 for a boolean. Now we've eliminated this bad interaction between tangling and punning literals.
* 4260 - make address coercions explicitKartik Agaram2018-06-167-21/+48
| | | | | 'deaddress' is a terrible name. Hopefully I'll come up with something better.
* 4259Kartik Agaram2018-06-1614-0/+0
|
* 4258 - undo 4257Kartik Agaram2018-06-1538-757/+381
|
* 4257 - abortive attempt at safe fat pointersKartik Agaram2018-06-1538-381/+757
| | | | | | | | | | | | | | | | I've been working on this slowly over several weeks, but it's too hard to support 0 as the null value for addresses. I constantly have to add exceptions for scalar value corresponding to an address type (now occupying 2 locations). The final straw is the test for 'reload': x:num <- reload text 'reload' returns an address. But there's no way to know that for arbitrary instructions. New plan: let's put this off for a bit and first create support for literals. Then use 'null' instead of '0' for addresses everywhere. Then it'll be easy to just change what 'null' means.
* 4256 - get rid of container metadata entirelyKartik Agaram2018-06-096-438/+84
| | | | | We have some ugly duplication in computing size_of on containers between layers 30/33 and 55.
* 4255Kartik Agaram2018-06-071-1/+1
|
* 4254Kartik Agaram2018-06-061-3/+5
|
* 4253 - support running just a single C testKartik Agaram2018-06-067-1/+24
| | | | We've had this ability for Mu scenarios forever.
* 4252Kartik Agaram2018-06-063-4/+4
|
* 4251 - speed up repeated builds until the same layerKartik Agaram2018-06-052-2/+14
| | | | Also allow running a single test, to speed things up still further.
* 4250Kartik Agaram2018-05-251-3/+5
| | | | Avoid modifying memory *before* the null check.
* 4249Kartik Agaram2018-05-251-1/+0
| | | | Why do we have this silent null check? All tests pass without it.
* 4248 -- simplify CIKartik Agaram2018-05-252-2/+4
|
* 4247Kartik Agaram2018-05-251-0/+19
|
* 4246Kartik Agaram2018-05-151-1/+1
|
* 4245 - fix example1.mu to actually runKartik Agaram2018-05-132-3/+9
| | | | | Thanks mahmudov on freenode IRC for the feedback! This was an embarrassing oversight right at the top of my Readme.
* 4244Kartik Agaram2018-05-128-1105/+1037
|
* 4243Kartik Agaram2018-05-1225-958/+966
|
* 4242 - get rid of refcounts entirelyKartik Agaram2018-05-1226-2820/+1231
| | | | | | | | | We're going to lean back into the experiment of commit 4179 back in Jan. If we delete memory it's up to us to ensure no pointers into it survive. Since deep-copy depends on our refcounting infrastructure, it's gone as well. So we're going to have to start watching out for pointers shared over channels.
* 4241Kartik Agaram2018-05-121-2/+2
| | | | | | | | | | | | | | Comparing types by value rather than name seems a bit cleaner. It isn't noticeably faster, though. 4178 - refcount-based memory management 3:27 3:18 3:15 3:15 3:15 4179 - no more abandon 2:13 2:13 2:12 2:11 2:09 2:10 4239 1:42 1:41 1:51 1:43 1:43 1:41 4241 (this commit) 1:53 1:45 1:43 1:43 1:42 1:42
* 4240Kartik Agaram2018-05-121-1/+1
|
* 4239Kartik Agaram2018-05-08139-1030/+1045
|
* 4238Kartik Agaram2018-05-071-3/+4
|
* 4237Kartik Agaram2018-05-011-4/+4
|
* 4236 - experimental script for parallel buildingKartik Agaram2018-04-291-0/+284
| | | | https://www.reddit.com/r/oilshell/comments/8bg9t1/the_problem_of_make_inside_shell_scripts/dxroayn
* 4235 - fix a build issue for Apple clang 900.0.38Kartik K. Agaram2018-04-205-7/+7
| | | | | | | The trouble with rewriting 'unused' to '__attribute__(unused)' is that if we happen to deliberately introduce '__attribute__(unused)' somehow, say in the standard headers, then it gets expanded twice to '__attribute__(__attribute__(unused))'. So we switch to a synonym.
* 4234Kartik K. Agaram2018-04-191-4/+4
|
* 4233 - no real difference between -O2 or -O3Kartik K. Agaram2018-03-224-9/+9
| | | | | | Neither in compile time, nor in the performance of the generated code. (Triggered by https://developers.redhat.com/blog/2018/03/21/compiler-and-linker-flags-gcc)
* 4232Kartik K. Agaram2018-03-221-1/+2
|
* 4231Kartik K. Agaram2018-03-211-0/+3
|
* 4230Kartik K. Agaram2018-03-162-51/+47
|
* 4229Kartik K. Agaram2018-03-161-2/+12
| | | | Another bugfix, another improved error message.
* 4228Kartik K. Agaram2018-03-1536-3058/+3514
|
* 4227 - second example implementing exceptionsKartik K. Agaram2018-03-152-4/+66
| | | | | | | | | | I think I like this better. It doesn't violate the type system. Still two sources of klunkiness: a) We need to add dead code because we don't consider exceptions when we add implicit 'return' statements to functions. Should be easy to fix. b) Still no way to create a generic 'try' function. This will be hard to fix.
* 4226 - example program: exceptionsKartik K. Agaram2018-03-153-4/+85
| | | | | | Pretty klunky; we're violating the type system by prepending an extra result, so functions we want to catch exceptions around have to be header-less and check input types at run-time.
* 4225Kartik K. Agaram2018-03-151-7/+7
|
* 4224 - fill an old hole in static dispatchKartik K. Agaram2018-03-141-3/+162
| | | | Resolve ambiguous calls when copying (overloaded) recipe literals to variables.
* 4223Kartik K. Agaram2018-03-145-14/+7
|
* 4222Kartik K. Agaram2018-03-132-0/+0
|
* 4221 - more docs about build processKartik K. Agaram2018-03-135-0/+60
|
* 4220Kartik K. Agaram2018-03-132-8/+6
|
&id=4447c1b7e323443a26189140410814195eee18a9'>4447c1b7e ^
4308f3225 ^
f73938218 ^
31651ecd6 ^
eaeed1f84 ^
4b7655fd1 ^


b92fd3028 ^
2afadc5c9 ^
adc75d020 ^


2afadc5c9 ^

e4081a720 ^

adc75d020 ^
b92fd3028 ^



af441e607 ^

dae545094 ^
d912d1837 ^


e6c5622aa ^
adc75d020 ^

e6c5622aa ^
adc75d020 ^
f73938218 ^

70ea45cdb ^
3a8f7d505 ^


f73938218 ^
3a8f7d505 ^
f73938218 ^
adc75d020 ^
b3d759ca6 ^

















adc75d020 ^




07d6ff4be ^


adc75d020 ^
069a53ad4 ^
adc75d020 ^
e210b049e ^

069a53ad4 ^


adc75d020 ^
b3d759ca6 ^
adc75d020 ^

2b3ec0a7c ^


cf259fbd1 ^
2b3ec0a7c ^
cf259fbd1 ^
2b3ec0a7c ^






83cab19c6 ^
40ec7be45 ^
57ea01309 ^

5e15dec17 ^

9605435f2 ^
41e8c9b9a ^
5e15dec17 ^
1dd01e589 ^
bb532a697 ^
5e15dec17 ^
5b98afb8a ^
05724645f ^
41e8c9b9a ^
e87470597 ^





3dcf73548 ^


46efaf294 ^
5e15dec17 ^
40ec7be45 ^
98cc99cbc ^
4d10937a3 ^
57ea01309 ^

5e15dec17 ^
eaeed1f84 ^

d9cb85c2d ^
83cab19c6 ^
eaeed1f84 ^
eaeed1f84 ^
05724645f ^
fa0f5d023 ^

5ae8689b6 ^
fa0f5d023 ^
05724645f ^
fa0f5d023 ^

05724645f ^
fa0f5d023 ^

5ae8689b6 ^
9e92455a5 ^
05724645f ^
2f066395b ^
12bac28d2 ^
af7c92c00 ^
12bac28d2 ^
f6f5c9e9e ^

89086a8e1 ^
f6f5c9e9e ^
89086a8e1 ^
40ec7be45 ^
66a255652 ^
40ec7be45 ^
66a255652 ^



40ec7be45 ^
66a255652 ^
89086a8e1 ^
2dcbc6493 ^
6a9baf3fd ^


5eba93d58 ^



6a9baf3fd ^

5eba93d58 ^
83cab19c6 ^
6a9baf3fd ^
afddae5aa ^

4ec39b6a8 ^







afddae5aa ^


fc452787e ^
b92fd3028 ^
fc452787e ^


9fb075557 ^
4ec39b6a8 ^
05724645f ^
4ec39b6a8 ^

05724645f ^
fc452787e ^







83cab19c6 ^
b78029b5a ^
fc452787e ^
12bac28d2 ^
edab4aaad ^


afddae5aa ^
05724645f ^
afddae5aa ^
89086a8e1 ^
05724645f ^

669a56449 ^
71695ab79 ^
669a56449 ^
05724645f ^
71695ab79 ^
754e2ef1d ^
826c1e2d7 ^
754e2ef1d ^
71695ab79 ^


754e2ef1d ^
0c31686fe ^
71695ab79 ^

05724645f ^

669a56449 ^
afddae5aa ^
05724645f ^


c1155cd2a ^


05724645f ^
c1155cd2a ^
05724645f ^
42516c008 ^
bf90b9c83 ^
826c1e2d7 ^
e5bd3b5b9 ^
c1155cd2a ^
669a56449 ^
05724645f ^
669a56449 ^
c1155cd2a ^
05724645f ^
b595fc834 ^

4cda0861f ^
afddae5aa ^
e5bd3b5b9 ^
564c0acae ^








05724645f ^
564c0acae ^



b64eeeb43 ^
071b1e395 ^
e73fd64f3 ^






e9a3ffbc3 ^

93fa75bb0 ^




669a56449 ^

ce859d8c1 ^
93fa75bb0 ^
69997af8e ^
e9a3ffbc3 ^

e73fd64f3 ^
a59abdf8e ^
84d122b5c ^
f7884717c ^
a59abdf8e ^
b92fd3028 ^
f94ec363a ^
f6f5c9e9e ^
b92fd3028 ^
f94ec363a ^

a59abdf8e ^
e9a3ffbc3 ^
2aabae702 ^
52fc16d5d ^





2dcbc6493 ^
a59abdf8e ^
e9a3ffbc3 ^












f6f5c9e9e ^
e9a3ffbc3 ^
669a56449 ^

93fa75bb0 ^
e25474154 ^
ce859d8c1 ^

329e169e9 ^
ce859d8c1 ^
f6f5c9e9e ^

8fc7cecfa ^
e4e32bdfb ^
d72921ecf ^
81ddc6778 ^
d72921ecf ^
4d9a5dc8f ^
d72921ecf ^
2e5265bef ^
5b27b263f ^
1be0022e7 ^


d72921ecf ^
1be0022e7 ^
6a9baf3fd ^

826c1e2d7 ^
f6f5c9e9e ^
e9a3ffbc3 ^
9ecb1aae8 ^
4c7313931 ^
ee67a67ac ^
669a56449 ^
e25474154 ^
83cab19c6 ^
ce859d8c1 ^
032599c15 ^
032599c15 ^
83cab19c6 ^
b595fc834 ^
ce859d8c1 ^
b595fc834 ^
ce859d8c1 ^
b595fc834 ^
ce859d8c1 ^
83cab19c6 ^
ce859d8c1 ^
b595fc834 ^
032599c15 ^
fe30ec83e ^
cd0256136 ^
789ba107c ^
23c3af80f ^
e25474154 ^
55f8ed245 ^
f18b3af9d ^
55f8ed245 ^
1a61c4d46 ^
55f8ed245 ^
050789a8f ^
b0c11d3ef ^

55f8ed245 ^
e25474154 ^
826c1e2d7 ^
40ec7be45 ^
ce859d8c1 ^
e25474154 ^
eebee0eff ^
6378fbd66 ^
edab4aaad ^
3051c52f5 ^
8d19a93f1 ^
121519301 ^
9dd753f21 ^
a158053ae ^
42d0911d6 ^
78f371c03 ^
1088814e5 ^
623fd8a8a ^
46efaf294 ^
3d1c6de63 ^

83cab19c6 ^
050789a8f ^
3d1c6de63 ^
e25474154 ^

050789a8f ^

e9eab32e5 ^


02ff5f596 ^
050789a8f ^

02ff5f596 ^


050789a8f ^

e9eab32e5 ^
e9eab32e5 ^

9364369c1 ^








83cab19c6 ^
050789a8f ^
9364369c1 ^
050789a8f ^

e9eab32e5 ^


0a624bec1 ^



84d122b5c ^
b407f083b ^











b64eeeb43 ^
328e7a100 ^
cb6ad8cb7 ^
328e7a100 ^
d673fb391 ^
bf592c4e9 ^
83cab19c6 ^

623fd8a8a ^
83cab19c6 ^
623fd8a8a ^
7a2b1a752 ^
46efaf294 ^
623fd8a8a ^

83cab19c6 ^

5b28d0820 ^
050789a8f ^
92b8fac94 ^
5b28d0820 ^
669a56449 ^
b731e6ef1 ^
5b28d0820 ^
92b8fac94 ^
de338526e ^
92b8fac94 ^
b731e6ef1 ^
669a56449 ^
3d46600a9 ^



2a7fc84c8 ^
328e7a100 ^
ddc6cec69 ^
83cab19c6 ^
4137a4dbf ^

114da04cb ^

4137a4dbf ^
46efaf294 ^
7063670a2 ^
328e7a100 ^
3d46600a9 ^
9a6f47ae6 ^

4137a4dbf ^
b0c11d3ef ^

050789a8f ^
e25474154 ^
a1da1f987 ^

46efaf294 ^
623fd8a8a ^
ddc6cec69 ^
e25474154 ^
826c1e2d7 ^
2fcc16374 ^
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
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639