ocaml / dune

A composable build system for OCaml.
https://dune.build/
MIT License
1.58k stars 396 forks source link

allow to override the OCaml dialect #8051

Open EduardoRFS opened 1 year ago

EduardoRFS commented 1 year ago

Context

Dune supports OCaml dialects such as Reason and OCaml itself. Currently those are hard coded inside of dune.

If there was an option to override the parser for OCaml on dune, we would be able to easily test and develop syntax for OCaml before it is released.

Alizter commented 1 year ago

Dune doesn't parse any ocaml code AFAIK. All that is done using the ocaml compiler. Are you asking for the ability to select an ocaml compiler?