The Emscripten github page states that "it takes LLVM bitcode - which can be generated from C/C++, using llvm-gcc (DragonEgg) or clang, or any other language that can be converted into LLVM - and compiles that into JavaScript."
A goal of the LLILC project is a "Just in Time (JIT) compiler for CoreCLR" based on LLVM.
How can I combine Emscripten with LLILC (or any other C#-to-LLVM compiler) to compile C# to JavaScript?
I've seen many references to this possibility since the emscripten project was created, but no clear explanations. This isn't the kind of thing one figures out in an hour or two, hence this question.