caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jean-Marie Gaillourdet <jm@gaillourdet.net>
To: Stefano Zacchiroli <zack@bononia.it>
Cc: caml-list@inria.fr
Subject: Re: On language extensions (was Re: [Caml-list] global record)
Date: Thu, 20 Jul 2006 10:57:46 +0200	[thread overview]
Message-ID: <3AED09B0-691E-4738-9AEC-112601E7FE00@gaillourdet.net> (raw)
In-Reply-To: <20060720062911.GA14278@aquarium.takhisis.invalid>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

On 20.07.2006, at 08:29, Stefano Zacchiroli wrote:
> Fully agreed. Me myself try to enforce locality of syntax  
> extensions to
> avoid possible clashes. Unfortunately handling that in large  
> project is
> really painful, since you end up in having to differentiate "clusters"
> of files which need to be built with different set of camlp4 flags,  
> and
> you need to do that in Makefile.

The OCamlMakefile in godi supports syntax extension declarations in  
the first line of ocaml source. Those declaration are wrapped in  
OCaml comments. Then make takes care that every single source file is  
compiled with the appropriate syntax extensions.

- --
   Jean-Marie

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEv0WONIUNP/I5YOgRAlGIAJ9Fr+vKiTbXCA0AMwvWOOG+wv7j+ACfQOEO
O00L8arLwjNmvXRxp76r4Ic=
=EkZi
-----END PGP SIGNATURE-----


  reply	other threads:[~2006-07-20  8:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-20  1:12 Eric Breck
2006-07-20  5:16 ` skaller
2006-07-20  6:29   ` Stefano Zacchiroli
2006-07-20  8:57     ` Jean-Marie Gaillourdet [this message]
2006-07-20 12:42 ` Bünzli Daniel
2006-07-20 12:40   ` Camlp4 mysteries (was Re: On language extensions (was Re: [Caml-list] global record)) Martin Jambon
2006-07-20 23:38     ` Alain Frisch
2006-07-21  0:11       ` Martin Jambon
2006-07-21  0:29       ` skaller
2006-07-21  0:31       ` Martin Jambon
  -- strict thread matches above, loose matches on Subject: below --
2006-07-19 17:14 [Caml-list] global record Eric Breck
2006-07-19 19:41 ` On language extensions (was Re: [Caml-list] global record) Daniel Bünzli
2006-07-19 19:57   ` Richard Jones
2006-07-19 20:22     ` Stefano Zacchiroli
2006-07-19 21:33   ` Nicolas Pouillard
2006-07-20  2:57   ` Martin Jambon

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=3AED09B0-691E-4738-9AEC-112601E7FE00@gaillourdet.net \
    --to=jm@gaillourdet.net \
    --cc=caml-list@inria.fr \
    --cc=zack@bononia.it \
    /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;
as well as URLs for NNTP newsgroup(s).