From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 23A01BC29 for ; Thu, 4 Nov 2004 15:42:51 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id iA4Egof0011932 for ; Thu, 4 Nov 2004 15:42:50 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA19775 for ; Thu, 4 Nov 2004 15:42:50 +0100 (MET) Received: from mail.physik.uni-muenchen.de (mail.physik.uni-muenchen.de [192.54.42.129]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id iA4EgnRq013536 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Thu, 4 Nov 2004 15:42:50 +0100 Received: from localhost (unknown [127.0.0.1]) by mail.physik.uni-muenchen.de (Postfix) with ESMTP id 6CF6020032; Thu, 4 Nov 2004 15:42:49 +0100 (CET) Received: from mail.physik.uni-muenchen.de ([127.0.0.1]) by localhost (mail.physik.uni-muenchen.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15996-01-55; Thu, 4 Nov 2004 15:42:47 +0100 (CET) Received: from mailhost.cip.physik.uni-muenchen.de (kaiser.cip.physik.uni-muenchen.de [141.84.136.1]) by mail.physik.uni-muenchen.de (Postfix) with ESMTP id F0F2520055; Thu, 4 Nov 2004 15:42:47 +0100 (CET) Received: from eiger.cip.physik.uni-muenchen.de (eiger.cip.physik.uni-muenchen.de [141.84.136.54]) by mailhost.cip.physik.uni-muenchen.de (Postfix) with ESMTP id E518B26E89; Thu, 4 Nov 2004 15:42:47 +0100 (CET) Received: by eiger.cip.physik.uni-muenchen.de (Postfix, from userid 3092) id D48433EBA; Thu, 4 Nov 2004 15:42:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by eiger.cip.physik.uni-muenchen.de (Postfix) with ESMTP id D23732D714; Thu, 4 Nov 2004 15:42:47 +0100 (CET) Date: Thu, 4 Nov 2004 15:42:47 +0100 (CET) From: Thomas Fischbacher To: John Prevost Cc: caml-list@inria.fr Subject: Re: [Caml-list] Arg parsing In-Reply-To: Message-ID: References: <20041026201338.GA29858@force.stwing.upenn.edu> X-BOFH: Daemons did it MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at physik.uni-muenchen.de X-Miltered: at nez-perce with ID 418A3FEA.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 418A3FE9.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 parsing:01 prevost:01 wrote:01 'print:01 parses:01 ocaml:01 ocaml:01 cip:98 cip:98 lambda:01 lambda:01 compile:01 precisely:01 debian:02 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: 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)