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 (21:59)
From: Jean-Christophe Filliatre <Jean-Christophe.Filliatre@l...>
Subject: Re: Parsing ANSI C using OCAML

In his message of Thu November 30, 2000, Laurent Reveillere writes: 
> I have to build a lexer/parser for the ANSI C language.
> Does anyone now if such a tool exists in OCAML?

I  don't know  of  such a  lexer/parser. But  you  can find  a lot  of
lex/yacc grammars  for ANSI C on  the web, which can  be easily turned
into ocamllex/ocamlyacc grammars. Here is such a site:


Hope this helps,
Jean-Christophe FILLIATRE