1
2
3
4
5
6
require_relative "computer"

program = ARGF.read
c = Computer.from(program)

c.run(StringIO.new("2"))