From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA11711 for caml-red; Mon, 4 Dec 2000 23:02:13 +0100 (MET) 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 NAA05061 for ; Mon, 4 Dec 2000 13:32:05 +0100 (MET) Received: from dpt-info.u-strasbg.fr (dpt-info.u-strasbg.fr [130.79.6.1]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id eB4CVxL16136 for ; Mon, 4 Dec 2000 13:32:04 +0100 (MET) Received: from lambda.u-strasbg.fr (lambda.u-strasbg.fr [130.79.90.63]) by dpt-info.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id NAA22807; Mon, 4 Dec 2000 13:30:43 +0100 Received: from luther by lambda.u-strasbg.fr with local (Exim 3.16 #1 (Debian)) id 142uug-0000Cc-00; Mon, 04 Dec 2000 13:40:10 +0100 Date: Mon, 4 Dec 2000 13:40:10 +0100 To: Laurent Reveillere Cc: caml-list@inria.fr Subject: Re: Parsing ANSI C using OCAML Message-ID: <20001204134010.A647@lambda.u-strasbg.fr> References: <3A260936.17880B58@labri.u-bordeaux.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A260936.17880B58@labri.u-bordeaux.fr>; from Laurent.Reveillere@labri.u-bordeaux.fr on Thu, Nov 30, 2000 at 09:00:54AM +0100 From: Sven LUTHER Sender: weis@pauillac.inria.fr On Thu, Nov 30, 2000 at 09:00:54AM +0100, Laurent Reveillere wrote: > I have to build a lexer/parser for the ANSI C language. > Does anyone now if such a tool exists in OCAML? Well, while doing the c2caml tool, i had to implement a C parser, well it is not complete, but nicely parses all of the gtk+ header files. Maybe you can use it. It will be on c2caml.sourceforge.net, but i hadn't had time to create the pages for it yet. In the meantime, if you need it, i could send it to you or put it in my anonymous repository on my work box ? It is GPLed code though. Friendly, Sven Luther