This is a devcontainer (using the open source devpod) for the source code of the haxe compiler
It loads you into an environment with ocaml installed in an ubuntu:plucky container and will build, from source, the haxe compiler, without complaining.
The first setup takes about 3 minutes on my 7th gen Intel.
install docker https://docs.docker.com/engine/install/
install babashka https://github.com/babashka/babashka#installation
install devpod https://devpod.sh/docs/getting-started/install
(n.b), you will have to eval $(opam env) each time you reload
(n.b), you might have to mark the repositories as safe in vscode
git clone --recursive https://github.com/ohmrun/haxe.compiler.devbb devpod.upOnce inside the container:
Setup the ocaml environment.
bb opam.prepare
eval $(opam env)Install vscode OCaml extension
bb vscode.extension.opamBuild Haxe
bb haxe.build