On Wed, Mar 14, 2012 at 02:14:12PM -0400, Hongbo Zhang wrote: > On 3/14/12 2:09 PM, Richard W.M. Jones wrote: > >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. > > > Thanks ! > I tried, it does not compile, but it would be not hard to fix, I guess.
Fedora carries some non-upstream patches (one taken from Debian) to fix it: http://pkgs.fedoraproject.org/gitweb/?p=ocaml-cmigrep.git;a=tree There doesn't seem to be an active upstream at the moment. Rich. -- Richard Jones Red Hat -- Caml-list mailing list. Subscription management and archives: https://sympa-roc.inria.fr/wws/info/caml-list Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs