Execute HQ9+: Difference between revisions

Content added Content deleted
(Added Arturo implementation)
Line 857: Line 857:
print("Go to the store and buy some more, 99 bottles of beer on the wall.")
print("Go to the store and buy some more, 99 bottles of beer on the wall.")
},
},
"+": () => accumulator += 1
"+": () => { accumulator += 1 }
)
)

for c in code {
for c in code {
opcodes[c.upper()]()
opcodes[c.upper()]()