So I have the issue that I want to translate/compile the haxe compiler source to ocaml bytecode(c or js).
What I tried:
- installed js_of_ocaml with opam
- Modified the dune file in the haxe/src/dune to contain in the library
(modes byte)or/and in executable
(modes (byte c) js )
What I think is happening is that the makefile is overwriting my dune modes definitions. I dont know if the fact that the compiler uses C stubs could be an issue also.
I dont know if any of the compiler developers could or would have any insight into this.
Thank you and happy holidays,