Add --use-compiler-pp flag to standalone driver
This flag allows user to force the driver to print AST as source code
using the installed compiler printers rather than its own.
This can be useful in situation where one is using the driver source
output on older OCaml version to prevent outputting incompatible syntax.
In addition it can prevent the driver to output uninterpreted extensions
when migrating down newer compiler features before we bumped the
internal AST.
Signed-off-by: Nathan Rebours <nathan.p.rebours@gmail.com>
0d3e8b
-
-
Jan 20 15:21 +00:00