Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Virgile Prevosto <virgile.prevosto@m4x.org>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Re: instanciation of functor using command line
Date: Mon, 20 Aug 2007 15:49:32 +0200	[thread overview]
Message-ID: <20070820154932.1494498d@localhost> (raw)
In-Reply-To: <200708130853.36664.jon@ffconsultancy.com>

Hello,

Le lun 13 aoû 2007 08:53:36 CEST,
Jon Harrop <jon@ffconsultancy.com> a écrit :

> > Why not make a little (Caml) script that would parse the
> > command-line (or an input file) and produce as output a file
> > applying F to the selected implementations ?
> > Parsing the command-line may not be that ugly: just define N lists,
> > each containing the possible values for the module Mi, so that you
> > just have to check that argument n is a member of the corresponding
> > list.
> 
> You could also write a camlp4 macro to generate the code for you.
> 

In fact, I've written something like that some time ago. If someone
is interested, I might try to find the code (and maybe adapt it to
3.10).

-- 
E tutto per oggi, a la prossima volta.
Virgile


  reply	other threads:[~2007-08-20 13:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-13  0:38 Thomas Gazagnaire
2007-08-13  7:17 ` Sébastien Hinderer
2007-08-13  7:53   ` [Caml-list] " Jon Harrop
2007-08-20 13:49     ` Virgile Prevosto [this message]
     [not found]       ` <46C99CC3.7000508@irisa.fr>
2007-08-20 16:41         ` Virgile Prevosto

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=20070820154932.1494498d@localhost \
    --to=virgile.prevosto@m4x.org \
    --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