[LLVMdev] Best intermediate form to...
Eli Friedman
eli.friedman at gmail.com
Sat May 1 12:41:40 PDT 2010
On Sat, May 1, 2010 at 9:07 AM, nonpoly <fxyxixe at gmail.com> wrote:
>
> Wow, thanks for the super fast reply!
>
> I was asking about llvm-gcc because I want to be able to work with code that
> compiles on GCC (since there is so much already out there), but in an
> intermediate form. So I take it that clang plans on being able to compile
> code that compiles on GCC? I'm assuming that's what they mean by "GCC
> compatibility" on http://clang.llvm.org/ ;p
With some caveats, yes... clang has gcc-compatible command-line
parsing and supports all the commonly used gcc extensions. See
http://clang.llvm.org/docs/UsersManual.html#c .
> On a side note, is clang - at least for the most part - hand coded like g++
> was for GCC? Or is it making use of generators like lex/flex and
> yacc/bison?
Hand-coded; see http://clang.llvm.org/features.html#unifiedparser .
-Eli
More information about the llvm-dev
mailing list