Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bug: null address messing up instruction decode | Kartik Agaram | 2019-07-09 | 1 | -2/+7 |
| | | | | Leads to a bad error message. | ||||
* | . | Kartik Agaram | 2019-07-09 | 2 | -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 Agaram | 2019-07-09 | 1 | -26/+26 |
| | |||||
* | . | Kartik Agaram | 2019-07-09 | 1 | -0/+1 |
| | |||||
* | . | Kartik Agaram | 2019-07-09 | 1 | -2/+2 |
| | |||||
* | . | Kartik Agaram | 2019-07-09 | 1 | -1/+1 |
| | |||||
* | clean up after a few calls | Kartik Agaram | 2019-07-09 | 2 | -4/+9 |
| | |||||
* | preserve truthiness of non-booleans | Kartik Agaram | 2019-07-09 | 2 | -16/+12 |
| | | | | | Everywhere we check if something is true, we check it by comparing against 0, not 1. | ||||
* | this looks like a bug | Kartik Agaram | 2019-07-09 | 2 | -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 Agaram | 2019-07-09 | 2 | -15/+4 |
| | |||||
* | . | Kartik Agaram | 2019-07-09 | 1 | -19/+17 |
| | |||||
* | move 'segment-start' to a global variable as well | Kartik Agaram | 2019-07-09 | 2 | -12/+10 |
| | | | | | It's ugly to have function locals in global variables, but we'll figure out later how to deal with it. | ||||
* | . | Kartik Agaram | 2019-07-09 | 1 | -8/+0 |
| | |||||
* | there's a variant of compute-width for slices | Kartik Agaram | 2019-07-09 | 1 | -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 slices | Kartik Agaram | 2019-07-09 | 2 | -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 line | Kartik Agaram | 2019-07-09 | 1 | -6/+12 |
| | | | | SubX in SubX doesn't support mixing labels with other stuff :) | ||||
* | switch to global Heap | Kartik Agaram | 2019-07-09 | 2 | -10/+5 |
| | |||||
* | update library docs | Kartik Agaram | 2019-07-09 | 1 | -5/+13 |
| | |||||
* | . | Kartik Agaram | 2019-07-08 | 8 | -88/+88 |
| | | | | | Be more consistent about names of ends of a slice. (In the opposite direction compared to last night's 925fc490d2ce8b8d411de87bd0af5b3a8a704213.) | ||||
* | . | Kartik Agaram | 2019-07-08 | 1 | -7/+4 |
| | |||||
* | . | Kartik Agaram | 2019-07-08 | 1 | -7/+6 |
| | | | | minor style tweaks | ||||
* | colocate compute-offsets with its globals | Kartik Agaram | 2019-07-08 | 2 | -9/+14 |
| | |||||
* | pull a couple more functions into subx-common | Kartik Agaram | 2019-07-08 | 6 | -989/+989 |
| | |||||
* | . | Kartik Agaram | 2019-07-08 | 9 | -80/+80 |
| | | | | Be more consistent about names of ends of a slice. | ||||
* | . | Kartik Agaram | 2019-07-08 | 14 | -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 Agaram | 2019-07-08 | 1 | -3/+3 |
| | |||||
* | . | Kartik Agaram | 2019-07-08 | 1 | -5/+5 |
| | |||||
* | preserve truthiness of non-booleans | Kartik Agaram | 2019-07-08 | 5 | -12/+12 |
| | | | | | Everywhere we check if something is true, we check it by comparing against 0, not 1. | ||||
* | . | Kartik Agaram | 2019-07-08 | 4 | -6/+16 |
| | | | | style tweaks | ||||
* | . | Kartik Agaram | 2019-07-08 | 2 | -42/+5 |
| | | | | DRY out compute-width and compute-width-from-slice. | ||||
* | . | Kartik Agaram | 2019-07-08 | 1 | -60/+60 |
| | | | | move a function around | ||||
* | . | Kartik Agaram | 2019-07-08 | 1 | -15/+0 |
| | | | | Delete some empty lines. | ||||
* | build `num-bytes` | Kartik Agaram | 2019-07-07 | 3 | -2/+565 |
| | |||||
* | . | Kartik Agaram | 2019-07-07 | 4 | -246/+246 |
| | | | | reorg in subx-common.subx | ||||
* | move `is-label?` to `subx-common` | Kartik Agaram | 2019-07-07 | 11 | -83/+83 |
| | |||||
* | made first compute-offset test pass | nc | 2019-07-07 | 3 | -27/+76 |
| | |||||
* | remove segfaults in survey.subx | nc | 2019-07-07 | 1 | -8/+8 |
| | |||||
* | new failing test: emit-segments | Kartik Agaram | 2019-07-07 | 2 | -1/+254 |
| | | | | Now the only piece I plan to not write tests for is emit-headers. | ||||
* | . | Kartik Agaram | 2019-07-07 | 1 | -7/+8 |
| | |||||
* | move phase 3 out of helpers | Kartik Agaram | 2019-07-07 | 1 | -117/+117 |
| | |||||
* | cleanup in compute-offset and fix bug in compute-width | nc | 2019-07-07 | 2 | -27/+13 |
| | |||||
* | more progress in compute-offset | nc | 2019-07-04 | 2 | -30/+59 |
| | |||||
* | implement segment section in compute-offsets | nc | 2019-07-04 | 1 | -3/+112 |
| | |||||
* | . | Kartik Agaram | 2019-07-04 | 2 | -2/+2 |
| | | | | | | Fix a couple of syntax errors. survey.subx still failing tests. | ||||
* | Merge branch 'master' into survey | Kartik Agaram | 2019-07-03 | 89 | -12523/+16406 |
|\ | | | | | | | | | | | High time we pulled in the final changes to dquotes. In the process we fix one recently introduced duplicate symbol. | ||||
| * | 5226 | Kartik Agaram | 2019-05-27 | 1 | -3/+4 |
| | | |||||
| * | 5225 | Kartik Agaram | 2019-05-27 | 1 | -9/+9 |
| | | |||||
| * | 5224 | Kartik Agaram | 2019-05-27 | 1 | -1/+2 |
| | | |||||
| * | 5223 | Kartik Agaram | 2019-05-25 | 1 | -3/+3 |
| | | |||||
| * | 5222 | Kartik Agaram | 2019-05-22 | 1 | -2/+2 |
| | | | | | | | | Fix CI for a real, restricted /bin/sh. |