#advent-of-code #intcode #aoc2019 #aoc

aoc19intcode

A standalone Advent of Code 2019 Intcode VM implementation

4 releases

0.2.0 Mar 21, 2020
0.1.2 Feb 23, 2020
0.1.1 Feb 23, 2020
0.1.0 Feb 23, 2020

#21 in #advent-of-code

MIT license

10KB
216 lines

A standalone Advent of Code 2019 Intcode VM implementation

aoc19intcode

That's it. IDK what else to tell ya.


lib.rs:

A standalone Advent of Code 2019 Intcode VM implementation

That's it. IDK what else to tell ya.

Examples

use aoc19intcode::IntcodeVM;
assert_eq!(
    IntcodeVM::from_prog(&[2, 4, 4, 5, 99, 0])
        .run_prog()
        .unwrap()[5],
    9801
);

No runtime deps