<link type="text/css" rel="stylesheet" href="content.css" />\r
</head>\r
<body>\r
- <!--#include virtual="menu.html.incl"-->\r
- <div id="content">\r
- <h1>clang: a C language family frontend for LLVM</h1>\r
- \r
- <p>The goal of the Clang project is to create a new C, C++, Objective C and\r
- Objective C++ front-end for the <a href="http://www.llvm.org/">LLVM</a>\r
- compiler.</p>\r
- \r
- <h2><a name="goals">Features and Goals</a></h2>\r
- \r
- <p>Some of the goals for the project include the following:</p>\r
- \r
- <ul>\r
- <li>Real-world, production quality compiler.</li>\r
- <li>A single unified parser for C, Objective C, C++, and Objective\r
- C++.</li>\r
- <li>Language conformance with these languages and their variants, like\r
- C90, C99, etc.</li>\r
- <li>GCC compatibility: support GCC extensions, but allow them to be\r
- disabled.</li>\r
- <li><a href="features.html#performance">High performance and low memory\r
- use</a>.</li>\r
- <li>Support many clients such as refactoring, static analysis, as well as\r
- code generation.</li>\r
- <li>Build a library-based architecture with finely crafted APIs, allowing\r
- the code to be reused in many ways.</li>\r
- <li>Design for integration with IDEs as well as code generation with the\r
- <a href="http://llvm.org">LLVM Optimizer and Code Generator</a>.</li>\r
- <li><a href="features.html#expressivediags">Expressive diagnostics</a>:\r
- warnings and errors that are actually helpful and make sense.</li>\r
- <li>Use the LLVM <a\r
- href="http://llvm.org/svn/llvm-project/cfe/trunk/LICENSE.TXT">'BSD'\r
- License</a>.</li>\r
- <li>Finally, make the code clean and simple enough to make it understandable\r
- to anyone who knows the languages involved and has a basic idea of\r
- compilers work.</li>\r
- </ul>\r
- \r
- <p>Of course this is only a rough outline of the goals and features of\r
- Clang. To get a true sense of what it is all about, see the <a \r
- href="features.html">Features</a> section. The Features section breaks\r
- each of these down and explains them in more detail.</p>\r
- \r
- \r
- <h2>Why?</h2>\r
- \r
- <p>The development of a new front-end was started out of a need -- a need\r
- for a compiler that allows better diagnostics, better integration with\r
- IDEs, a license that is compatible with commercial products, and a\r
- nimble compiler that is easy to develop and maintain. All of these were\r
- motivations for starting work on a new front-end that could\r
- meet these needs.</p>\r
- \r
- <p>A good (but quite dated) introduction to Clang can be found in the\r
- following video lectures:</p>\r
- \r
- <ul>\r
- <li><a href="clang_video-05-25-2007.html">Clang Introduction</a>\r
- (May 2007)</li>\r
- <li><a href="clang_video-07-25-2007.html">Features and Performance of \r
- Clang</a> (July 2007)</li>\r
- </ul>\r
- \r
- <p>For a more detailed comparison between Clang and other compilers, please\r
- see the <a href="comparison.html">clang comparison page</a>.</p>\r
- \r
- <h2>Current Status</h2>\r
- \r
- <p>Clang is still in early development stages. If you are looking for\r
- source analysis or source-to-source transformation tools, clang is probably\r
- a great solution for you. If you want to use it as a drop in C compiler, it\r
- is not yet ready.</p>\r
+<!--#include virtual="menu.html.incl"-->\r
+<div id="content">\r
+ <!--*********************************************************************-->\r
+ <h1>clang: a C language family frontend for LLVM</h1>\r
+ <!--*********************************************************************-->\r
+ \r
+ <p>The goal of the Clang project is to create a new C, C++, Objective C and\r
+ Objective C++ front-end for the <a href="http://www.llvm.org/">LLVM</a>\r
+ compiler.</p>\r
+ \r
+ <!--=====================================================================-->\r
+ <h2><a name="goals">Features and Goals</a></h2>\r
+ <!--=====================================================================-->\r
+ \r
+ <p>Some of the goals for the project include the following:</p>\r
+ \r
+ <p><b><a href="features.html#enduser">End-User Features</a></b>:</p>\r
\r
- <p>Clang currently has pretty good parsing and semantic analysis support for\r
- C and Objective-C right now, and bugs are usually quickly fixed once\r
- reported. C++ support is still very early, and we don't expect to have\r
- respectable C++ support for another 2 years or so.</p>\r
- \r
- <h2>Get Involved</h2>\r
- \r
- <p>The developers of Clang include contributers from Apple and numerous\r
- other volunteers. If you are interested in joining the community or\r
- learning more, please consider joining the <a \r
- href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">cfe-dev</a>\r
- mailing list, or start by browsing its archives.</p>\r
+ <ul>\r
+ <li>High performance and low memory use</li>\r
+ <li>Expressive diagnostics</li>\r
+ <li>GCC compatibility</li>\r
+ </ul>\r
\r
- <p>If you are interested in trying out Clang, please see the build\r
- instructions on the <a href="get_involved.html#build">Get Involved</a> \r
- page.</p> \r
- </div>\r
+ <p><b><a href="features.html#applications">Utility and \r
+ Applications</a></b>:</p>\r
+\r
+ <ul>\r
+ <li>Library based architecture</li>\r
+ <li>Support diverse clients</li>\r
+ <li>Integration with IDEs</li>\r
+ <li>Use the LLVM 'BSD' License</li>\r
+ </ul>\r
+\r
+ <p><b><a href="features.html#design">Internal Design and \r
+ Implementation</a></b>:</p>\r
+\r
+ <ul>\r
+ <li>A real-world, production quality compiler</li>\r
+ <li>A simple and hackable code base</li>\r
+ <li>A single unified parser for C, Objective C, C++, and Objective C++</li>\r
+ <li>Conformance with C/C++/ObjC and their variants</li>\r
+ </ul>\r
+\r
+ <p>Of course this is only a rough outline of the goals and features of\r
+ Clang. To get a true sense of what it is all about, see the <a \r
+ href="features.html">Features</a> section, which breaks\r
+ each of these down and explains them in more detail.</p>\r
+\r
+ \r
+ <!--=====================================================================-->\r
+ <h2>Why?</h2>\r
+ <!--=====================================================================-->\r
+ \r
+ <p>The development of a new front-end was started out of a need -- a need\r
+ for a compiler that allows better diagnostics, better integration with\r
+ IDEs, a license that is compatible with commercial products, and a\r
+ nimble compiler that is easy to develop and maintain. All of these were\r
+ motivations for starting work on a new front-end that could\r
+ meet these needs.</p>\r
+ \r
+ <p>A good (but quite dated) introduction to Clang can be found in the\r
+ following video lectures:</p>\r
+ \r
+ <ul>\r
+ <li><a href="clang_video-05-25-2007.html">Clang Introduction</a>\r
+ (May 2007)</li>\r
+ <li><a href="clang_video-07-25-2007.html">Features and Performance of \r
+ Clang</a> (July 2007)</li>\r
+ </ul>\r
+ \r
+ <p>For a more detailed comparison between Clang and other compilers, please\r
+ see the <a href="comparison.html">clang comparison page</a>.</p>\r
+ \r
+ <!--=====================================================================-->\r
+ <h2>Current Status</h2>\r
+ <!--=====================================================================-->\r
+ \r
+ <p>Clang is still in early development stages. If you are looking for\r
+ source analysis or source-to-source transformation tools, clang is probably\r
+ a great solution for you. If you want to use it as a drop in C compiler, it\r
+ is not yet ready.</p>\r
+\r
+ <p>Clang currently has pretty good parsing and semantic analysis support for\r
+ C and Objective-C right now, and bugs are usually quickly fixed once\r
+ reported. C++ support is still very early, and we don't expect to have\r
+ respectable C++ support for another 2 years or so.</p>\r
+ \r
+ <!--=====================================================================-->\r
+ <h2>Get Involved</h2>\r
+ <!--=====================================================================-->\r
+ \r
+ <p>The developers of Clang include contributers from Apple and numerous\r
+ other volunteers. If you are interested in joining the community or\r
+ learning more, please consider joining the <a \r
+ href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">cfe-dev</a>\r
+ mailing list, or start by browsing its archives.</p>\r
+\r
+ <p>If you are interested in trying out Clang, please see the build\r
+ instructions on the <a href="get_involved.html#build">Get Involved</a> \r
+ page.</p> \r
+</div>\r
</body>\r
</html>\r