Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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
http://yziquel.homelinux.org/