Commit Graph

2 Commits

Author SHA1 Message Date
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