/URM_interpreter

simple URM interpretor

Primary LanguagePython

URM_interpreter

simple URM interpreter

format is: [COMMAND] [NUMBER] .. [NUMBER] example:

S 3
J 3 1 5
J 3 2 11
J 1 1 1
J 3 2 8
Z 1
J 1 1 100
Z 1
S 1
J 1 1 100
J 3 1 15
Z 1
S 1
J 1 1 100
Z 1
J 1 1 100
e

("e" for end of input)