From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA27790; Tue, 31 Aug 2004 21:35:40 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA28145 for ; Tue, 31 Aug 2004 21:35:39 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from gatekeeper.elmer.external.excelhustler.com (gatekeeper.excelhustler.com [68.99.114.105]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id i7VJZbUJ030238 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL) for ; Tue, 31 Aug 2004 21:35:39 +0200 Received: from chatterbox.elmer.internal.excelhustler.com (unknown [192.168.0.12]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "chatterbox.elmer.internal.excelhustler.com", Issuer "excelhustler.com" (not verified)) by gatekeeper.elmer.external.excelhustler.com (Postfix) with ESMTP id AF33856C7E; Tue, 31 Aug 2004 14:35:37 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by chatterbox.elmer.internal.excelhustler.com (Postfix) with ESMTP id 84C0DCC671; Tue, 31 Aug 2004 14:35:37 -0500 (CDT) Received: from chatterbox.elmer.internal.excelhustler.com ([192.168.0.12]) by localhost (chatterbox [192.168.0.12]) (amavisd-new, port 10025) with ESMTP id 03877-02; Tue, 31 Aug 2004 14:35:35 -0500 (CDT) Received: from wile.internal.excelhustler.com (wile.internal.excelhustler.com [192.168.1.34]) by chatterbox.elmer.internal.excelhustler.com (Postfix) with ESMTP id A8982CC670; Tue, 31 Aug 2004 14:35:35 -0500 (CDT) Received: by wile.internal.excelhustler.com (Postfix, from userid 1000) id 809194A014; Tue, 31 Aug 2004 14:35:35 -0500 (CDT) From: John Goerzen To: caml-list@inria.fr Subject: [Caml-list] Extending pa_op Date: Tue, 31 Aug 2004 14:35:34 -0500 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200408311435.35197.jgoerzen@complete.org> X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at excelhustler.com X-Miltered: at nez-perce with ID 4134D30A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; camlp:01 reuse:01 mli:01 reuse:01 python:01 cmo:01 ocaml:01 ocaml:01 parser:02 parser:02 namely:02 compile:02 tree:02 parsers:03 backtracking:04 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, I am wanting to add some capabilities (namely backtracking) to the pa_op camlp4 parsers. I can form these in terms of the existing parser functions (such as cparser) and thus reuse much of the existing code. However, OCaml does not install the .mli file for pa_op.cmo on people's systems, so there's no real way to compile against it. The quotation system, of course, is not aware of the "parser" keyword and thus won't be able to help out either. Are there any ways that I could reuse this code without having to pull the entire pa_op.ml from OCaml into my tree? Thanks, John -- John Goerzen Author, Foundations of Python Network Programming http://www.complete.org/pynet ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners