Useful links:
OCaml's parsetree https://v2.ocaml.org/api/compilerlibref/Parsetree.html
How to compile with dune:
dune buildHow to execute with dune: if you have a main.ml file
dune exec ./main.exeNote the .exe !
How to get the parsetree of an OCaml program
ocamlc -dparsetree a.mldune build system:
opam install duneLibrary for conversion between parsetrees of different OCaml versions.
opam install ocaml-migrate-parsetreeInstalling OCamlFormat using opam:
opam install ocaml-lsp-server
opam install ocamlformatHow to get merlin using opam :
opam install merlin