RAM machine emulator (Javascript from ancient times & conole versions in SML and Python)