From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id A5F3EBBAF for ; Sun, 17 Jan 2010 17:16:26 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuEAAMvGUktV2gB5mWdsb2JhbACDYZgiAQEBAQEICwoHE6prjCOBLIIwVgSJOYQS X-IronPort-AV: E=Sophos;i="4.49,291,1262559600"; d="scan'208";a="45056817" Received: from emailfrontal2.citycable.ch ([85.218.0.121]) by mail1-smtp-roc.national.inria.fr with SMTP; 17 Jan 2010 17:16:26 +0100 Received: from [192.168.0.12] (unknown [85.218.92.99]) (Authenticated sender: guillaume.yziquel@citycable.ch) by emailfrontal2.citycable.ch (Postfix) with ESMTPA id 3E5D0B10482; Sun, 17 Jan 2010 17:16:21 +0100 (CET) Message-ID: <4B5337D5.7010003@citycable.ch> Date: Sun, 17 Jan 2010 17:16:21 +0100 From: Guillaume Yziquel Reply-To: guillaume.yziquel@citycable.ch User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707) MIME-Version: 1.0 To: Kihong Heo Cc: caml-list@inria.fr Subject: Re: [Caml-list] C++ parser References: <30315E42-6659-4B43-B27B-13823B1C924B@ropas.snu.ac.kr> In-Reply-To: <30315E42-6659-4B43-B27B-13823B1C924B@ropas.snu.ac.kr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; guillaume:01 guillaume:01 parser:01 parser:01 gcc:01 ocaml:01 swig:01 parses:01 gcc:01 elsa:98 caml-list:01 parse:02 binding:02 declarations:04 i'd:06 Kihong Heo a =C3=A9crit : > Dear all. >=20 > Is there anybody knowing about existing C++ parser that is not so big? >=20 > I've already know EDG and ELSA. > But they are so big and hard to see.=20 > 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=20 to it. Otherwise, depending on what you want to do, there is Swig. It parses=20 only C++ declarations. > I need your advice. For a new project, I'd use GCC XML. > Thank you. > -- > Kihong Heo. All the best, --=20 Guillaume Yziquel http://yziquel.homelinux.org/