[LLVMdev] Proposal for GSoC project for clang front end

Jon Harrop jon at ffconsultancy.com
Tue Apr 1 17:17:04 PDT 2008

On Wednesday 19 March 2008 21:27:18 Chris Lattner wrote:
> On Wed, 19 Mar 2008, Argiris Kirtzidis wrote:
> > I'd like to hear your opinions and ideas for a proposal to improve
> > support for C++ parsing for LLVM's clang front end.
> Some meta feedback: C++ support in clang is a huge project, far and away
> more than any mortal can get done in a summer.  While it would be possible
> to sketch out the parser itself in the summer (providing the equivalent of
> -parse-noop for C) this won't be able to handle a lot of interesting
> cases.  C++ requires a significant amount of semantic analysis just to get
> parsing correct.

You could surely save a lot of time reinventing the wheel by reusing an 
existing C++ parser, like Elsa:


There are even OCaml bindings:


These libraries were discussed on the OCaml mailing list recently:


Dr Jon D Harrop, Flying Frog Consultancy Ltd.

More information about the llvm-dev mailing list