Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 7332 - advent day 4 done | Kartik Agaram | 2020-12-04 | 1 | -4/+124 |
| | | | | | The code is shit and I can't be arsed to clean it up. But it was a useful exercise given the bugs and gaps it caught in Mu. | ||||
* | 7331 - hacky way to convert slice to string | Kartik Agaram | 2020-12-04 | 1 | -0/+20 |
| | |||||
* | 7330 - snapshot: advent day 4 part 2 easy cases | Kartik Agaram | 2020-12-04 | 1 | -8/+100 |
| | | | | Now I need to tune the SubX vocabulary. | ||||
* | 7329 - snapshot: advent day 4 part 2 | Kartik Agaram | 2020-12-04 | 14 | -0/+82 |
| | | | | | | | | | | | | I've found two bugs in SubX libraries: 1. next-word had an out-of-bounds read 2. next-word was skipping comments, because that's what I need during bootstrapping. I've created a new variant called next-raw-word that doesn't skip comments. These really need better names. We're now at the point where 4b.mu has the right structure and returns identical result to 4a.mu. | ||||
* | 7328 - advent day 4 part 1 | Kartik Agaram | 2020-12-04 | 1 | -0/+75 |
| | | | | | Bug #1: forgot to process final passport Stupid mistake #2: was reporting invalid rather than valid passports | ||||
* | 7327 | Kartik Agaram | 2020-12-03 | 1 | -6/+6 |
| | |||||
* | 7326 | Kartik Agaram | 2020-12-03 | 1 | -5/+9 |
| | |||||
* | 7325 - tile: start implementing function editing | Kartik Agaram | 2020-12-03 | 1 | -22/+28 |
| | |||||
* | 7323 - advent day 3 done | Kartik Agaram | 2020-12-02 | 1 | -1/+15 |
| | | | | Stupid mistake; I missed one slope in the question. | ||||
* | 7322 - snapshot: advent day 3 part 2 | Kartik Agaram | 2020-12-02 | 1 | -0/+123 |
| | | | | Answer isn't right. | ||||
* | 7321 - advent day 3 part 1 | Kartik Agaram | 2020-12-02 | 1 | -16/+13 |
| | |||||
* | 7320 - snapshot: advent day 3 part 1 | Kartik Agaram | 2020-12-02 | 1 | -0/+110 |
| | |||||
* | 7318 - advent day 2 done | Kartik Agaram | 2020-12-02 | 2 | -1/+126 |
| | | | | | Funny story: I got the right answer for part 1 even though I missed the ':' in the line format. But of course that didn't work for part 2. | ||||
* | 7317 - advent day 2 part 1 | Kartik Agaram | 2020-12-02 | 1 | -0/+89 |
| | | | | https://adventofcode.com/2020/day/2 | ||||
* | 7316 | Kartik Agaram | 2020-12-01 | 2 | -0/+26 |
| | |||||
* | 7315 | Kartik Agaram | 2020-12-01 | 1 | -0/+2 |
| | |||||
* | 7313 - advent: day 1 done | Kartik Agaram | 2020-12-01 | 1 | -15/+25 |
| | |||||
* | 7312 - advent: snapshot of 1b | Kartik Agaram | 2020-12-01 | 1 | -0/+90 |
| | |||||
* | 7310 - advent day 1 part 1 | Kartik Agaram | 2020-12-01 | 1 | -0/+84 |
| | | | | | | | In the process I had to: * Fix a bug in reading lines from stdin into streams * Start trailing newlines when parsing ints from streams * Implement `find` in an array | ||||
* | 7309 - tile: parsing strings into words | Kartik Agaram | 2020-11-30 | 2 | -156/+39 |
| | |||||
* | 7308 | Kartik Agaram | 2020-11-29 | 1 | -0/+8 |
| | |||||
* | 7305 - make float-size more consistent as well | Kartik Agaram | 2020-11-29 | 1 | -0/+4 |
| | |||||
* | 7302 - tile: at long last, division | Kartik Agaram | 2020-11-29 | 2 | -1/+21 |
| | | | | | | Also square roots. But there's a bug in rendering floats without precision. | ||||
* | 7301 - tile: float computations now working | Kartik Agaram | 2020-11-29 | 2 | -3/+6 |
| | |||||
* | 7300 - bugfix in type-checking float returns | Kartik Agaram | 2020-11-29 | 2 | -0/+69 |
| | |||||
* | 7299 - bug in code-generating float returns | Kartik Agaram | 2020-11-29 | 2 | -54/+122 |
| | |||||
* | 7297 - tile: use floats everywhere | Kartik Agaram | 2020-11-29 | 8 | -124/+131 |
| | |||||
* | 7295 | Kartik Agaram | 2020-11-29 | 2 | -12/+11 |
| | |||||
* | 7294 | Kartik Agaram | 2020-11-28 | 2 | -16/+16 |
| | |||||
* | 7292 - mu.subx: loosen copy-byte checks a bit | Kartik Agaram | 2020-11-27 | 2 | -125/+31 |
| | | | | | | | Without this there's no way to convert an int to a byte. And that feels too restrictive, and gives up a lot of safe things one might want to do with bytes. (Such as divide a number by 10 and emit the remainder as a byte.) | ||||
* | 7291 | Kartik Agaram | 2020-11-27 | 2 | -12/+11 |
| | |||||
* | 7290 | Kartik Agaram | 2020-11-27 | 1 | -2/+4 |
| | | | | | | | I've wrestled for a long time with how to support integer division with its hard-coded registers. The answer's always been staring me in the face: just turn it into a function! We already expect function outputs to go to hard-coded registers. | ||||
* | 7288 | Kartik Agaram | 2020-11-27 | 1 | -4/+4 |
| | |||||
* | 7287 | Kartik Agaram | 2020-11-27 | 2 | -0/+34 |
| | | | | | Regression: I'd broken compare on bytes. Apparently I took away support for bytes from numberlike-output even though I didn't need to by the end. | ||||
* | 7286 - mu.subx: isolate bytes from previous values | Kartik Agaram | 2020-11-27 | 2 | -13/+66 |
| | |||||
* | 7285 | Kartik Agaram | 2020-11-26 | 2 | -12/+1042 |
| | |||||
* | 7284 | Kartik Agaram | 2020-11-26 | 2 | -12/+188 |
| | |||||
* | 7283 | Kartik Agaram | 2020-11-26 | 2 | -98/+12 |
| | |||||
* | 7282 | Kartik Agaram | 2020-11-26 | 2 | -0/+86 |
| | |||||
* | 7281 | Kartik Agaram | 2020-11-26 | 2 | -7/+24 |
| | |||||
* | 7280 | Kartik Agaram | 2020-11-26 | 2 | -9/+9 |
| | |||||
* | 7279 | Kartik Agaram | 2020-11-26 | 2 | -1/+44 |
| | |||||
* | 7278 - typo in mu.subx | Kartik Agaram | 2020-11-26 | 2 | -2/+2 |
| | |||||
* | 7269 | Kartik Agaram | 2020-11-21 | 3 | -55/+45 |
| | |||||
* | 7267 - mu.subx: type-check 'convert' statements | Kartik Agaram | 2020-11-20 | 2 | -0/+637 |
| | |||||
* | 7261 - mu.subx: array bounds-checking done | Kartik Agaram | 2020-11-17 | 2 | -98/+236 |
| | |||||
* | 7260 | Kartik Agaram | 2020-11-17 | 2 | -15/+11 |
| | | | | This seems to preserve the intent of commit 6555. | ||||
* | 7258 | Kartik Agaram | 2020-11-17 | 2 | -9/+9 |
| | |||||
* | 7257 - partially undo commit 7253 | Kartik Agaram | 2020-11-17 | 2 | -8/+8 |
| | | | | I don't need to pass the function pointer quite so low. I think.. | ||||
* | 7256 | Kartik Agaram | 2020-11-17 | 1 | -6/+6 |
| |