English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Arg parsing
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-11-04 (14:42)
From: Thomas Fischbacher <Thomas.Fischbacher@P...>
Subject: Re: [Caml-list] Arg parsing

On Thu, 28 Oct 2004, John Prevost wrote:

> > But that is precisely what I want. Please have a look at my postings.
> Well, could you be a bit more precise about what you need?  The only
> bit I see from your previous postings:
> > tf@ouija:~$ perl -e 'print @ARGV' -- one tooth ree
> is covered by what I have said, without needing --.

The point is, I have something.ml which I can compile to an application 
that parses its own args. Now I want to be able to #use "something.ml" 
from within ocaml in such a way that it operates on the extra application 
args I passed to the ocaml interpreter without having to change any code.

regards,               tf@cip.physik.uni-muenchen.de              (o_
 Thomas Fischbacher -  http://www.cip.physik.uni-muenchen.de/~tf  //\
(lambda (n) ((lambda (p q r) (p p q r)) (lambda (g x y)           V_/_
(if (= x 0) y (g g (- x 1) (* x y)))) n 1))                  (Debian GNU)