caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Richard W.M. Jones" <rich@annexia.org>
To: bob zhang <bobzhang1988@gmail.com>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] Parsing cmi file
Date: Wed, 14 Mar 2012 18:09:48 +0000	[thread overview]
Message-ID: <20120314180948.GA11143@annexia.org> (raw)
In-Reply-To: <CANcqPu7nMRW66UDZiZMTUBr9uDs0bx2nknqX-LEvxhjjvS4rqg@mail.gmail.com>

On Tue, Mar 13, 2012 at 05:52:37PM -0400, bob zhang wrote:
> Hi list,
>    I noticed that Godi can pretty print cmi files, is there already
> libraries parsing cmi files?

cmigrep may be worth looking at.  It's also a nasty(-ish) hack since
it has to use the compiler sources.  I agree it would be nice to have
a formal API, but I can understand why the OCaml team wouldn't want to
have to maintain such a thing.

Rich.

-- 
Richard Jones
Red Hat

  parent reply	other threads:[~2012-03-14 18:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-13 21:52 bob zhang
2012-03-13 22:36 ` Gerd Stolpmann
2012-03-13 23:20   ` bob zhang
2012-03-14  0:25     ` Gerd Stolpmann
2012-03-14 17:14       ` David Brown
2012-03-14  6:48 ` rixed
2012-03-14 17:30   ` [Caml-list] " Hongbo Zhang
2012-03-14 17:38     ` rixed
2012-03-14 17:49       ` Raphael Proust
2012-03-14 17:50       ` Dmitry Grebeniuk
2012-03-14 18:09 ` Richard W.M. Jones [this message]
2012-03-14 18:14   ` [Caml-list] " Hongbo Zhang
2012-03-14 19:44     ` Mehdi Dogguy
2012-03-19 17:57     ` Richard W.M. Jones

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=20120314180948.GA11143@annexia.org \
    --to=rich@annexia.org \
    --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).