Simple CoreWar implementations in JavaScript and Java.