A simple C++ interpreter written in JavaScript