Is there a way to fully or partially decompile an *.out
executable Ocaml file into source code?
OCaml compiles to native code and there are no decompilers known to me that decompile binaries to OCaml. So the answer is no in practice. But, of course, you can write a decompiler yourself. It will not be an easy task though.