From: Stefano Zacchiroli <zack@upsilon.cc>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Auto-generate mli from ml?
Date: Mon, 6 Oct 2008 15:05:53 +0100 [thread overview]
Message-ID: <20081006140553.GA21339@usha.takhisis.invalid> (raw)
In-Reply-To: <1223300185.6141.18.camel@Blefuscu>
On Mon, Oct 06, 2008 at 03:36:25PM +0200, David Teller wrote:
> I'm currently looking for a complete .ml -> .mli generator. That is, a
> generator which would essentially perform the same job as 'ocamlc -i',
> but which would keep whichever comments of the .ml remain meaningful in
> the .mli (i.e. anything that ocamldoc would keep). Now, that doesn't
> look like something too hard to write, with a combination of 'ocamlc -i'
> and camlp4, I'm just wondering if someone has already written such a
> tool.
It does not answer your question directly, but if I'm guessing
correctly that your goal is obtaining both the .mli and the ocamldoc
output, you can achieve that with legacy "ocamlc -i" and ocamldoc with
merge options on the .ml alone.
But it is likely that I'm not guessing correctly :-)
--
Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
I'm still an SGML person,this newfangled /\ All one has to do is hit the
XML stuff is so ... simplistic -- Manoj \/ right keys at the right time
next prev parent reply other threads:[~2008-10-06 14:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-06 13:36 David Teller
2008-10-06 14:05 ` Stefano Zacchiroli [this message]
2008-10-06 14:26 ` [Caml-list] " David Teller
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=20081006140553.GA21339@usha.takhisis.invalid \
--to=zack@upsilon.cc \
--cc=caml-list@yquem.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