I am thinking of porting Haxe to another OS (so NOT Windows/Linux/OSX/BSD/etc…): Haiku.
Although Haiku is not a UNIX based OS, it does have a lot of similarities (not least: reasonably good POSIX compliance, Bash shell, GNU/Clang dev utils , etc…).
So I was wondering if the porting roadmap could be the following:
- On Linux, transpile Haxe to c or cpp
- Move the transpiled code to Haiku. Make the necessary modifications so a basic/bootstrap compiler can be built with gcc/g++
- Confirm success of boostrat compiler by compiling Haxe with the basic/bootstrap compiler.
Does that make any sense, and has it been tried before on another OS (if there are lessons learned, I would gladly read them)?
Thanks for you feedback!