about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* bug: null address messing up instruction decodeKartik Agaram2019-07-091-2/+7
| | | | Leads to a bad error message.
* .Kartik Agaram2019-07-092-7/+1
| | | | | | Stop dumping huge traces on error. We can always rerun with --trace. Though perhaps we should just dump the trace automatically on error. Not bothering thinking about that right now.
* .Kartik Agaram2019-07-091-26/+26
|
* .Kartik Agaram2019-07-091-0/+1
|
* .Kartik Agaram2019-07-091-2/+2
|
* .Kartik Agaram2019-07-091-1/+1
|
* clean up after a few callsKartik Agaram2019-07-092-4/+9
|
* preserve truthiness of non-booleansKartik Agaram2019-07-092-16/+12
| | | | | Everywhere we check if something is true, we check it by comparing against 0, not 1.
* this looks like a bugKartik Agaram2019-07-092-1/+1
| | | | | But of course the test is still infinite-looping so we can't be sure. I'm still just reading the code.
* .Kartik Agaram2019-07-092-15/+4
|
* .Kartik Agaram2019-07-091-19/+17
|
* move 'segment-start' to a global variable as wellKartik Agaram2019-07-092-12/+10
| | | | | It's ugly to have function locals in global variables, but we'll figure out later how to deal with it.
* .Kartik Agaram2019-07-091-8/+0
|
* there's a variant of compute-width for slicesKartik Agaram2019-07-091-9/+5
| | | | | Looks like the original compute-width is now dead. But still seems useful to have around.
* there's a variant of get-or-insert for slicesKartik Agaram2019-07-092-27/+16
| | | | | | The compute-offsets test now goes into an infinite loop :( But I figure all these changes are useful anyway, we should just debug the error separately.
* keep labels definitions on a separate lineKartik Agaram2019-07-091-6/+12
| | | | SubX in SubX doesn't support mixing labels with other stuff :)
* switch to global HeapKartik Agaram2019-07-092-10/+5
|
* update library docsKartik Agaram2019-07-091-5/+13
|
* .Kartik Agaram2019-07-088-88/+88
| | | | | Be more consistent about names of ends of a slice. (In the opposite direction compared to last night's 925fc490d2ce8b8d411de87bd0af5b3a8a704213.)
* .Kartik Agaram2019-07-081-7/+4
|
* .Kartik Agaram2019-07-081-7/+6
| | | | minor style tweaks
* colocate compute-offsets with its globalsKartik Agaram2019-07-082-9/+14
|
* pull a couple more functions into subx-commonKartik Agaram2019-07-086-989/+989
|
* .Kartik Agaram2019-07-089-80/+80
| | | | Be more consistent about names of ends of a slice.
* .Kartik Agaram2019-07-0814-267/+389
| | | | | | Move test slice variables out of the data segment and close to their usages. Makes tests a little easier to read even if we spend a few more instructions each time.
* .Kartik Agaram2019-07-081-3/+3
|
* .Kartik Agaram2019-07-081-5/+5
|
* preserve truthiness of non-booleansKartik Agaram2019-07-085-12/+12
| | | | | Everywhere we check if something is true, we check it by comparing against 0, not 1.
* .Kartik Agaram2019-07-084-6/+16
| | | | style tweaks
* .Kartik Agaram2019-07-082-42/+5
| | | | DRY out compute-width and compute-width-from-slice.
* .Kartik Agaram2019-07-081-60/+60
| | | | move a function around
* .Kartik Agaram2019-07-081-15/+0
| | | | Delete some empty lines.
* build `num-bytes`Kartik Agaram2019-07-073-2/+565
|
* .Kartik Agaram2019-07-074-246/+246
| | | | reorg in subx-common.subx
* move `is-label?` to `subx-common`Kartik Agaram2019-07-0711-83/+83
|
* made first compute-offset test passnc2019-07-073-27/+76
|
* remove segfaults in survey.subxnc2019-07-071-8/+8
|
* new failing test: emit-segmentsKartik Agaram2019-07-072-1/+254
| | | | Now the only piece I plan to not write tests for is emit-headers.
* .Kartik Agaram2019-07-071-7/+8
|
* move phase 3 out of helpersKartik Agaram2019-07-071-117/+117
|
* cleanup in compute-offset and fix bug in compute-widthnc2019-07-072-27/+13
|
* more progress in compute-offsetnc2019-07-042-30/+59
|
* implement segment section in compute-offsetsnc2019-07-041-3/+112
|
* .Kartik Agaram2019-07-042-2/+2
| | | | | | Fix a couple of syntax errors. survey.subx still failing tests.
* Merge branch 'master' into surveyKartik Agaram2019-07-0389-12523/+16406
|\ | | | | | | | | | | High time we pulled in the final changes to dquotes. In the process we fix one recently introduced duplicate symbol.
| * 5226Kartik Agaram2019-05-271-3/+4
| |
| * 5225Kartik Agaram2019-05-271-9/+9
| |
| * 5224Kartik Agaram2019-05-271-1/+2
| |
| * 5223Kartik Agaram2019-05-251-3/+3
| |
| * 5222Kartik Agaram2019-05-221-2/+2
| | | | | | | | Fix CI for a real, restricted /bin/sh.
='alt'>
d9f5a2bd ^
c6ff761a ^

c6ff761a ^
7f98e013 ^
c6ff761a ^




7f98e013 ^
c6ff761a ^



a48b9fce ^
c6ff761a ^

c6ff761a ^
7f98e013 ^
c6ff761a ^







a48b9fce ^
c6ff761a ^

7f98e013 ^
c6ff761a ^


a48b9fce ^
c6ff761a ^

7f98e013 ^
c6ff761a ^



a48b9fce ^
c6ff761a ^

7f98e013 ^
c6ff761a ^


d9f5a2bd ^
c6ff761a ^

c6ff761a ^
7f98e013 ^
c6ff761a ^




7f98e013 ^
c6ff761a ^


a48b9fce ^
c6ff761a ^

c6ff761a ^
7f98e013 ^
c6ff761a ^



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