Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Guillaume Yziquel <guillaume.yziquel@citycable.ch>
To: Kihong Heo <khheo@ropas.snu.ac.kr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] C++ parser
Date: Sun, 17 Jan 2010 17:16:21 +0100	[thread overview]
Message-ID: <4B5337D5.7010003@citycable.ch> (raw)
In-Reply-To: <30315E42-6659-4B43-B27B-13823B1C924B@ropas.snu.ac.kr>

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/


  parent reply	other threads:[~2010-01-17 16:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-14 11:36 Kihong Heo
2010-01-14 19:58 ` [Caml-list] " Yoann Padioleau
2010-01-17 16:16 ` Guillaume Yziquel [this message]
2010-01-17 19:15   ` Basile STARYNKEVITCH
2010-01-17 19:16   ` Yoann Padioleau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B5337D5.7010003@citycable.ch \
    --to=guillaume.yziquel@citycable.ch \
    --cc=caml-list@inria.fr \
    --cc=khheo@ropas.snu.ac.kr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox