Co-opting the compiler interface from scala-js-fiddle.