From: bob zhang <bobzhang1988@gmail.com>
To: Alain Frisch <alain@frisch.fr>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] Is there a printer for ocaml's parsetree
Date: Wed, 17 Oct 2012 20:31:30 -0400 [thread overview]
Message-ID: <CANcqPu4MbUTXWYD+fN+kqpeOOnOMgOLLVDCgd+BVUohGVkiKDQ@mail.gmail.com> (raw)
In-Reply-To: <507EDAB4.7040302@frisch.fr>
[-- Attachment #1: Type: text/plain, Size: 625 bytes --]
Hi Alain, that's really cool, thanks!
On Wed, Oct 17, 2012 at 12:20 PM, Alain Frisch <alain@frisch.fr> wrote:
> 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
>
--
Regards
-- Bob
[-- Attachment #2: Type: text/html, Size: 1187 bytes --]
prev parent reply other threads:[~2012-10-18 0:31 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
2012-10-18 0:31 ` bob zhang [this message]
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=CANcqPu4MbUTXWYD+fN+kqpeOOnOMgOLLVDCgd+BVUohGVkiKDQ@mail.gmail.com \
--to=bobzhang1988@gmail.com \
--cc=alain@frisch.fr \
--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