Say I want to have a Haxe compiler running on a web browser, or alternatively on any other of the languages supported by Haxe, is that possible?Regards.
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "Haxe" group.
On Aug 13, 2016, at 6:33 PM, Munir Hussin <profou...@gmail.com> wrote:
I made an attempt once to get the compiler running on the web browser itself. One is using ocaml to js compiler (js_of_ocaml), which you need to write some adapters in js for some system calls. I couldn't figure out that part, so the most I got was the haxe command line help to display in the browser's console. Running anything else errors out, due to missing stuff.There might be another way. Maybe OCaml to LLVM, and then LLVM to js using emscripten. Haven't tried, so don't know if it works.