From: Alain Frisch <alain@frisch.fr>
To: Hongbo Zhang <bobzhang1988@gmail.com>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] Is there a printer for ocaml's parsetree
Date: Wed, 17 Oct 2012 18:20:04 +0200 [thread overview]
Message-ID: <507EDAB4.7040302@frisch.fr> (raw)
In-Reply-To: <503B3818.1050503@frisch.fr>
On 08/27/2012 11:04 AM, Alain Frisch wrote:
> 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.
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!
-- Alain
next prev parent reply other threads:[~2012-10-17 16:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-26 21:41 Hongbo Zhang
2012-08-27 9:04 ` Alain Frisch
2012-08-27 11:45 ` Hongbo Zhang
2012-10-17 16:20 ` Alain Frisch [this message]
2012-10-18 0:31 ` bob zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=507EDAB4.7040302@frisch.fr \
--to=alain@frisch.fr \
--cc=bobzhang1988@gmail.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).