From: Jean-Christophe Filliatre <filliatr@csl.sri.com>
To: caml-list@inria.fr
Subject: ocamlwc: a wc program for ocaml sources
Date: Mon, 12 Jun 2000 18:06:04 -0700 (PDT) [thread overview]
Message-ID: <14661.35068.32016.305322@cylinder.csl.sri.com> (raw)
Dear ocamlers,
ocamlwc is a small program to compute the number of lines of code and
documentation in ocaml sources. It is particularly useful when one
wants to evaluate the size of a program heavily documented (for
instance with ocamlweb :-) Then standard tools like wc really become
too coarse. Some features of ocamlwc:
- skip the header, if any (can be turned off)
- do not count the empty lines (even inside comments)
- correctly counts the lines mixing code and comments
- print the percentage of documentation (option); beware, it's harsh!
ocamlwc is freely distributed under GPL on the following page:
http://www.lri.fr/~filliatr/software.en.html
The documented code can be reached directly at:
http://www.lri.fr/~filliatr/ftp/ocaml/misc/ocamlwc.ps.gz
--
Jean-Christophe Filliatre
==[ Français ]========================================================
ocamlwc est un petit programme pour compter le nombre de lignes de
code et de commentaires dans des fichiers source ocaml. Il s'avère
particulièrement utile pour évaluer la taille de programmes ocaml bien
documentés (par exemple avec ocamlweb :-). Quelques caractéristiques
d'ocamlwc :
- ne tient pas compte de l'entête, s'il y en a un (peut être
désactivé)
- ne compte pas les lignes vides (y compris dans les commentaire)
- décompte correctement les lignes contenant code et commentaire
- imprime la proportion de documentation (attention, c'est sans
pitié !)
ocamlwc est librement distribué sous license GPL à l'adresse suivante :
http://www.lri.fr/~filliatr/software.fr.html
Une version PostScript du code documenté peut être trouvée directement
à l'adresse suivante :
http://www.lri.fr/~filliatr/ftp/ocaml/misc/ocamlwc.ps.gz
--
Jean-Christophe Filliatre
reply other threads:[~2000-06-13 16:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=14661.35068.32016.305322@cylinder.csl.sri.com \
--to=filliatr@csl.sri.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