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
C++ parser
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-01-17 (16:16)
From: Guillaume Yziquel <guillaume.yziquel@c...>
Subject: Re: [Caml-list] C++ parser
Kihong Heo a écrit :
> Dear all.
> Is there anybody knowing about existing C++ parser that is not so big?
> I've already know EDG and ELSA.
> But they are so big and hard to see. 
> I don't want a perfect C++ parser.
> If it can parse common and simple C++, that's OK.

The perfect C++ parser: GCC XML. I thing that there is an OCaml binding 
to it.

Otherwise, depending on what you want to do, there is Swig. It parses 
only C++ declarations.

> I need your advice.

For a new project, I'd use GCC XML.

> Thank you.
> --
> Kihong Heo.

All the best,

      Guillaume Yziquel