Code sample of the compiler I wrote for Gameblox (a block-based programming interface for game development) in Javascript.