[cfe-dev] Implementing a new language

Fariborz Jahanian fjahanian at apple.com
Mon Sep 27 09:01:36 PDT 2010


On Sep 27, 2010, at 3:03 AM, Mark Chandler wrote:

> I was looking into adding support to compile c# (in a limited subset  
> with manual memory handling) into clang but i have no idea where to  
> start. I would like to be able to make it interact with c++/c code  
> thus using clang.
>
> Is this doable with clang in its current state?
> Where should i begin?

clang supports objective-c/objective-c++ which is the superset of c/c+ 
+. You can start by looking at how clang implements it.
There are test cases in clang test directory (.m for objc  .mm for  
objective-c++). Use -ast-dump to dump AST nodes for objc features, etc.

- fariborz

>
> Mark
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list