From: Jean-Christophe Filliatre <Jean-Christophe.Filliatre@lri.fr>
To: Vasili Galchin <vasiliocaml@yahoo.com>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] OCaml and doxygen???
Date: Thu, 7 Oct 2004 14:35:53 +0200 [thread overview]
Message-ID: <16741.14377.572882.79203@gargle.gargle.HOWL> (raw)
In-Reply-To: <1097110646.20680.488.camel@pelican.wigram>
On Thu, 2004-10-07 at 03:30, Vasili Galchin wrote:
>
> To my knowledge http://www.doxygen.org only works with C/C++. Is
> there any general-purpose tool that allows one to do something like
> literate programming with OCaml?
I've developed a literate programming tool for Ocaml, ocamlweb. See
http://www.lri.fr/~filliatr/ocamlweb/
You'll find many examples of ocamlweb output on this page:
http://www.lri.fr/~filliatr/software.en.html (looking at the .ps links)
Though ocamlweb was inspired by Knuth's WEB it only implements the
pretty-printing and indexing features, not the weaving feature
(i.e. the ability to present pieces of code in an arbitrary order). I
consider ocaml to be structured enough. ocamlweb is assuming comments
to be written in LaTeX (unless declared as true comments that should
be ignored).
I wrote this tool to get nice listings of my code, following Knuth's
principle that a program should be something as beautiful as a book,
readable by a human (and not only a machine).
--
Jean-Christophe Filliâtre
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2004-10-07 12:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-06 17:30 Vasili Galchin
2004-10-06 18:46 ` David Overton
2004-10-07 0:59 ` skaller
2004-10-07 7:59 ` lehalle@miriad
2004-10-07 0:57 ` skaller
2004-10-07 12:35 ` Jean-Christophe Filliatre [this message]
2004-10-07 18:41 ` Norman Ramsey
2004-10-08 11:07 ` David MENTRE
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=16741.14377.572882.79203@gargle.gargle.HOWL \
--to=jean-christophe.filliatre@lri.fr \
--cc=caml-list@inria.fr \
--cc=vasiliocaml@yahoo.com \
/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