Hey all.
I'm toying around with writing a programming language. So far, I've decided
to utilize LLVM for code generation. Then I thought, hey, wouldn't it be
cool if I could compile to JS too? That would make my language usable in
the browser!
Enter emscripten. I was hoping I could just run emscripten on the LLVM IR
I've produced, and magically it would run in the browser. However, as far
as I can tell, emscripten is targeted primarily at C/C++. This line from
the docs makes me think that emscripten does not support arbitrary LLVM IR:
"Do not attempt to bypass *emcc* and call the Emscripten tools directly
from your build system."
So, that's all I know so far. I'll start digging into the code sometime
soon, but maybe I could get a head start from you.
1) Has anyone done this?
2) Where should I start looking?
3) Is this a massive amount of work, a decent amount, a small amount, or
plain and simple?
Thanks!
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.