My solution for today, pretty similar to day 2 of course. It took me a while to figure out why part 1 doesn't crash given that some opcodes haven't been defined yet!
b
Burkhard
12/05/2019, 1:54 PM
While I like how you grouped add and mul I would not allow your grouping of jump or lt/eq through a code review 😉 While they are inventive ways of reducing code duplication I have to stare at them far to long to understand them, but maybe I’m just slow 😅
k
karelpeeters
12/05/2019, 1:55 PM
Yeah I agree they're not super readable, maybe I should have figured out some better variable names. Both