[cfe-dev] Clang Front-End Architecture

Douglas Gregor dgregor at apple.com
Mon Jul 26 15:05:46 PDT 2010


On Jul 26, 2010, at 2:47 PM, Paul B Mann wrote:

> Hi,
> 
> I'm new here.  I would like to know about the Clang front end architecture.
> Is the front end parser hand coded recursive descent?  Is it generated by 
> Bison
> or what?

It's a hand-written recursive descent parser (and always will be).

> I have many years of experience building higher-performance compiler
> development tools, faster than flex and Bison.  If it's possible to make the 
> Clang
> front-end faster, I might like to get involved and contribute to its 
> success.
> 
> Let me know if there is any interest and who to contact. 

You've found us; patches to improve compilation speed would be greatly appreciated. 

	- Doug



More information about the cfe-dev mailing list