And a blogpost explaining the technique is available here: http://code.alaiwan.org/wp/?p=103(Spoiler: at some point, it involves lowering the source code back to C)
Reddit: https://www.reddit.com/r/programming/comments/4w3svq/running_a_d_game_in_the_browser/
