Commit Graph

26 Commits

Author SHA1 Message Date
Kienan Stewart c27c60ce9a Merge remote-tracking branch '2019/main' 2022-05-16 23:26:11 -04:00
Kienan Stewart 5f4f7def86 Move 2018 to it's own directory 2022-05-16 23:24:53 -04:00
Kienan Stewart 2e1614a5dc Merge remote-tracking branch '2018/master' 2022-05-16 23:23:43 -04:00
Kienan Stewart 579a569c6e Initial commit 2022-05-16 23:22:49 -04:00
Kienan Stewart 7954983ce7 Day 9 2022-05-15 14:41:35 -04:00
Kienan Stewart 8a6d684287 Fix relative mode parameters for destination parameters of multiple operations 2022-05-15 14:39:33 -04:00
Kienan Stewart 261b67afbb Fix support for relative mode addressing in input 2022-05-15 14:23:19 -04:00
Kienan Stewart 25cd57559e Implement "boosted" Int-code computer
* Support for 64bit integer values and non-continguous memory regions
* Add support for relative mode parameters
* New opcode to adjust relative mode base value
* Legacy 32bit integer API is preserved via simulate()
2022-05-15 14:03:01 -04:00
Kienan Stewart 065d2d8192 Add day 8 2022-05-15 10:39:26 -04:00
Kienan Stewart 571c0c2511 Day 7 2022-05-15 07:38:18 -04:00
Kienan Stewart 9411a5231d Major version for int-code computer
* Programs may start at non-zero instructions
 * Input uses mutable VecDeques and consumes values as they are encountered
 * Output uses a mutable vector, and multiple outputs will be pushed on it
 * If no value is present in the input queue, the program blocks on input
 returning the status Status::WaitingForInput and the instruction to resume
 the program from.
2022-05-15 07:35:41 -04:00
Kienan Stewart f3832e6d88 Move intcode computer to separate crate 2022-05-10 07:04:24 -04:00
Kienan Stewart 163547667c Day 6 2022-05-08 22:40:05 -04:00
Kienan Stewart da6c5f8187 Day 5 2021-12-07 18:42:30 -05:00
Kienan Stewart 7ad7138e93 Day 4 2021-12-06 22:35:42 -05:00
Kienan Stewart b9d6d9ad9c Day 3 2021-12-06 20:54:37 -05:00
Kienan Stewart 176bef0c0c Day 2 2021-12-05 14:38:52 -05:00
Kienan Stewart 03ebc5a5cf Benchmark rebuilds on day 1 2021-12-04 22:32:20 -05:00
Kienan Stewart 9adba5e034 Add benchmark for day 1 2021-12-04 22:23:18 -05:00
Kienan Stewart fdc4238e8d Add zig implementation of day 1 2021-12-04 22:08:15 -05:00
Kienan Stewart 034e1907a5 Day 1 2021-12-04 21:56:42 -05:00
Kienan Stewart e50ed65ed8 Day 5 2018-12-05 01:02:54 -05:00
Kienan Stewart 6cc74cf1b1 Days 3 and 4 2018-12-04 16:24:11 -05:00
Kienan Stewart 303e17f251 Remove editor files 2018-12-02 10:59:16 -05:00
Kienan Stewart 1570e6eb44 AoC 2018 - Day 2 2018-12-02 10:57:21 -05:00
Kienan Stewart 5d24f6d3e5 Complete day 1 of AoC2018 2018-12-02 10:28:23 -05:00