English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Parsing ANSI C using OCAML
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-12-04 (22:02)
From: Sven LUTHER <luther@d...>
Subject: Re: Parsing ANSI C using OCAML
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.


Sven Luther