QBASIC JS
QBASIC is an IDE and interpreter for a variant of the BASIC programming language, and Steve Hanov has created an implementation of QBASIC in Javascript. The tool uses canvas to display the screen, which is where your compiled code will eventually end up. Thankfully, Steve has included one of the original QBASIC examples – Nibbles, a variant on the popular Snake game.

More snake action with 'Nibbles'
Steve is currently running a guide of how to implement a virtual machine like QBASIC in JavaScript – and is well worth a read.


Related demos