Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr>
To: William Chesters <williamc@dai.ed.ac.uk>, caml-list@inria.fr
Subject: Re: new ocamldep and camlp4
Date: Mon, 8 Mar 1999 09:15:52 +0100	[thread overview]
Message-ID: <19990308091552.A25026@jaune.inria.fr> (raw)
In-Reply-To: <199903061835.SAA01332@toy.william.bogus>; from William Chesters on Sat, Mar 06, 1999 at 06:35:50PM +0000

> 2.02's new ocamldep is very nice! Could we also have
> 
>   o  a -pp option so that it can handle sources with camlp4 syntax
>      extensions, and

This could be interesting indeed, and I agree with your request.

There is another answer: in camlp4 2.02, you have the printer "pr_depend.cmo":
      camlp4o pr_depend.cmo foo.ml
which syntax extensions if you need:
      camlp4o pa_extend.cmo q_MLast.cmo pr_depend.cmo foo.ml
and the -I options, after --:
      camlp4o pr_depend.cmo -- -I dir1 -I dir2 foo.ml

It applies to one file. Therefore, in a makefile:
      ocamldep $(INCLUDES) *.ml *.mli
can be translated into:
      for i in *.ml *.mli; do \
        camlp4o pr_depend.cmo -- $(INCLUDES) $$i; \
      done

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/




      reply	other threads:[~1999-03-08 15:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-06 18:35 William Chesters
1999-03-08  8:15 ` Daniel de Rauglaudre [this message]

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=19990308091552.A25026@jaune.inria.fr \
    --to=daniel.de_rauglaudre@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=williamc@dai.ed.ac.uk \
    /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