Hi Alain, that's really cool, thanks!
On 08/27/2012 11:04 AM, Alain Frisch wrote:This is now available in the trunk, with a new command-line option "-dsource". The pretty-printer in source form needs some polishing (formatting, and missing features in the AST). Contribution to improve it are welcome!
There is a printer in tools/pprintast.ml. It would be useful to
integrate it to the ocaml compilers, with an option to tell them to dump
the (preprocessed) parsetree in source form.
-- Alain