Pascal compiler written in JavaScript