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