#aoc #intcode #adventofcode #aoc2019

aoc19intcode

A standalone Advent of Code 2019 Intcode VM implementation

4 releases

✓ Uses Rust 2018 edition

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

#44 in Emulators

26 downloads per month

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