Skip to content

Instantly share code, notes, and snippets.

View jcreekmore's full-sized avatar

Jonathan Creekmore jcreekmore

View GitHub Profile
@jcreekmore
jcreekmore / cpu_emulator.rs
Created February 19, 2021 14:18
Advent of Code 2018 -- Day 21
use std::str::FromStr;
use std::fmt;
use std::collections::HashSet;
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct Registers {
regs: Vec<usize>,
}
impl Registers {

Keybase proof

I hereby claim:

  • I am jcreekmore on github.
  • I am jcreekmore (https://keybase.io/jcreekmore) on keybase.
  • I have a public key ASDSSPn6YyzVaHwPMFhD6CTZ74A6ar3einNBmJSw5KSqfAo

To claim this, I am signing this object: