From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=AWL,HTML_10_20,HTML_MESSAGE autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 7DBC7BC69 for ; Tue, 21 Aug 2007 23:43:50 +0200 (CEST) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.226]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l7LLhn8e016741 for ; Tue, 21 Aug 2007 23:43:50 +0200 Received: by nz-out-0506.google.com with SMTP id x7so641881nzc for ; Tue, 21 Aug 2007 14:43:49 -0700 (PDT) Received: by 10.143.158.16 with SMTP id k16mr1125877wfo.1187732628120; Tue, 21 Aug 2007 14:43:48 -0700 (PDT) Received: by 10.142.80.4 with HTTP; Tue, 21 Aug 2007 14:43:48 -0700 (PDT) Message-ID: <28fa90930708211443n6ad5a549u74c6d0117717ba69@mail.gmail.com> Date: Tue, 21 Aug 2007 14:43:48 -0700 From: "Luca de Alfaro" To: caml-list@yquem.inria.fr Subject: ocamlp3l and command line options: how? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_141588_5839783.1187732628088" X-Miltered: at discorde with ID 46CB5C95.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; command-line:01 command-line:01 foo:01 foo:01 arg:03 arg:03 luca:04 luca:04 manual:06 manual:06 feasible:07 feasible:07 quite:08 quite:08 fun:08 ------=_Part_141588_5839783.1187732628088 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I am trying to use ocamlp3l to parallelize some code. Using the skeleton paradigm was a lot of fun and quite easy, but I am stumbling on the easiest of issues... My code needs some command-line options, and I am processing them with the Arg package. The ocamlp3l manual does not anything about what to do for command-line options. I cannot simly run: ./foo -p3lroot -i blah -o boink because Arg tells me that it doesn't know what to do with -p3lroot. Fine, but, then how do I do? It's not really feasible for me to do without command-line options... Many thanks in advance, Luca ------=_Part_141588_5839783.1187732628088 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I am trying to use ocamlp3l to parallelize some code.  Using the skeleton paradigm was a lot of fun and quite easy, but I am stumbling on the easiest of issues...

My code needs some command-line options, and I am processing them with the Arg package.  The ocamlp3l manual does not anything about what to do for command-line options.

I cannot simly run:

./foo -p3lroot -i blah -o boink

because Arg tells me that it doesn't know what to do with -p3lroot.
Fine, but, then how do I do?  It's not really feasible for me to do without command-line options...

Many thanks in advance,

Luca
------=_Part_141588_5839783.1187732628088--