I'm also planning on adding support for Swift to https://repl.it once I figure out how to implement a proper REPL with it.
Amjad, I got started filing some issues against codemirror for better Swift support :) https://github.com/codemirror/CodeMirror/issues/3680