[cfe-dev] Support a new C-like language by libclang?

Jovi Zhangwei jovi.zhangwei at gmail.com
Thu Jan 29 13:41:01 PST 2015


Hi,

On Wed, Jan 7, 2015 at 10:09 PM, Sean Silva <chisophugis at gmail.com> wrote:
>
>
> On Wed, Jan 7, 2015 at 6:16 PM, Jovi Zhangwei <jovi.zhangwei at gmail.com>
> wrote:
>>
>> Yes, I just need C, completely don‘t need any C++ and other extension,
>> clang internal looks have more complexity than I need.
>>
>> Do you have any guide on how to write C frontend based on LLVM? any
>> project can take reference other than clang?
>
> FYI, clang started out as a C compiler before it grew C++ support. Check
> back (way back) in the history.
>
It seems that the initial C compiler support is in 2007, is that old
version have many
bugs and incompatible with current llvm backend?

Thanks.




More information about the cfe-dev mailing list