squash Advent of Code log output

This commit is contained in:
2021-04-28 15:19:13 -06:00
parent 1a67868ec2
commit fcf422386d
2 changed files with 3 additions and 4 deletions

View File

@@ -6,5 +6,4 @@
(defmethod acc [v :Dynamic self] (self.setBreakPoint) (set self.accumulator (+ self.accumulator v)))
(defmethod jmp [v :Dynamic self]
(self.setBreakPoint)
(print (+ "jumping " (Std.string v) " from " (Std.string (+ 1 self.instructionPointer))))
(set self.instructionPointer (+ self.instructionPointer (- v 1))))