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 | 3 | -0/+39 |
| | |||||
* | 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 | 16 | -2/+147 |
| | | | | | | | | | | | | 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 |
| | |||||
* | 7324 | Kartik Agaram | 2020-12-02 | 2 | -0/+370 |
| | |||||
* | 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 |
| | |||||
* | 7319 | Kartik Agaram | 2020-12-02 | 2 | -0/+339 |
| | |||||
* | 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 | 4 | -184/+236 |
| | |||||
* | 7315 | Kartik Agaram | 2020-12-01 | 1 | -0/+2 |
| | |||||
* | 7314 | Kartik Agaram | 2020-12-01 | 1 | -0/+163 |
| | |||||
* | 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 |
| | |||||
* | 7311 | Kartik Agaram | 2020-12-01 | 11 | -2799/+2845 |
| | |||||
* | 7310 - advent day 1 part 1 | Kartik Agaram | 2020-12-01 | 3 | -5/+97 |
| | | | | | | | 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 |
| | |||||
* | 7307 | Kartik Agaram | 2020-11-29 | 2 | -451/+435 |
| | |||||
* | 7306 | Kartik Agaram | 2020-11-29 | 43 | -37925/+40204 |
| | |||||
* | 7305 - make float-size more consistent as well | Kartik Agaram | 2020-11-29 | 2 | -4/+19 |
| | |||||
* | 7304 - more consistent printing of floats | Kartik Agaram | 2020-11-29 | 1 | -3/+17 |
| | |||||
* | 7303 - better threshold for scientific notation | Kartik Agaram | 2020-11-29 | 1 | -3/+13 |
| | |||||
* | 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 |
| | |||||
* | 7298 - slightly smarter float width | Kartik Agaram | 2020-11-29 | 1 | -6/+96 |
| | |||||
* | 7297 - tile: use floats everywhere | Kartik Agaram | 2020-11-29 | 9 | -124/+138 |
| | |||||
* | 7296 - rough support for printing floats | Kartik Agaram | 2020-11-29 | 2 | -0/+527 |
| | | | | No rounding yet, and we have a blunt way to decide when to start truncating. | ||||
* | 7295 | Kartik Agaram | 2020-11-29 | 2 | -12/+11 |
| | |||||
* | 7294 | Kartik Agaram | 2020-11-28 | 3 | -54/+54 |
| | |||||
* | 7293 | Kartik Agaram | 2020-11-28 | 1 | -240/+2 |
| | |||||
* | 7292 - mu.subx: loosen copy-byte checks a bit | Kartik Agaram | 2020-11-27 | 3 | -128/+34 |
| | | | | | | | 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 | 4 | -103/+23 |
| | | | | | | | 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. | ||||
* | 7289 | Kartik Agaram | 2020-11-27 | 1 | -0/+2 |
| | |||||
* | 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 | 4 | -14/+70 |
| | |||||
* | 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 |
| |