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 TAA02948; Wed, 17 Mar 2004 19:20:57 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 TAA02671 for ; Wed, 17 Mar 2004 19:20:56 +0100 (MET) Received: from smtpout.mac.com (A17-250-248-44.apple.com [17.250.248.44]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i2HIKtHd028757 for ; Wed, 17 Mar 2004 19:20:55 +0100 Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (8.12.6/MantshX 2.0) with ESMTP id i2HIKsNT008108 for ; Wed, 17 Mar 2004 10:20:54 -0800 (PST) Received: from [172.26.0.5] (243.red-217-127-9.pooles.rima-tde.net [217.127.9.243]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 3.0) with ESMTP id i2HIKqcR025826 for ; Wed, 17 Mar 2004 10:20:53 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v612) In-Reply-To: <20040317174632.GD18178@fichte.ai.univie.ac.at> References: <0AEE851F-7832-11D8-910D-000A95CED312@mac.com> <20040317174632.GD18178@fichte.ai.univie.ac.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Agustin Valverde Ramos Subject: Re: [Caml-list] Better option to read a file Date: Wed, 17 Mar 2004 19:20:40 +0100 To: caml-list@inria.fr X-Mailer: Apple Mail (2.612) X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 expr:01 expr:01 agust:01 matem:01 aplicada:01 laga:01 laga:01 ctima:01 gimac:01 matem:01 aplicada:01 batllo:01 aciego:01 gimac:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 157 A lot of thanks, Markus. In fact, I'm reading and studying about=20 ocamllex/yacc and this code will help me. Just a couple of questions. > type expr =3D > | Id of string > | Not of expr > | And of expr * expr > | Or of expr * expr I want to work with conjunctions and disjunctions of lists: | And of expr list | Or of expr list Is it hard/possible to modify the rest of the code? > (note: the topmost expression also needs parenthesis!). E.g.: Why? is it possible to release this restriction? ******************************* * Agust=EDn Valverde Ramos * Dept. Matem=E1tica Aplicada * E.T.S. de Ingenier=EDa Inform=E1tica * Universidad de M=E1laga * Campus de Teatinos * 29071 M=E1laga (Espa=F1a) * --------------------------------- * Tel: (+34) 952132878 * Fax: (+34) 952132746 * mailto:a_valverde@ctima.uma.es * http://www.AgustinValverde.com * --------------------------------- * Soy miembro de GIMAC: * "Grupo de Investigaci=F3n * en Matem=E1tica Aplicada para la Computaci=F3n" * http://batllo.informatica.uma.es/aciego/gimac-home.html * * I am member of GIMAC: * "Research Group in Applied Mathematics for * Computer Science" * http://batllo.informatica.uma.es/aciego/gimac-home-eng.html ******************************* ------------------- 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