[cfe-dev] Questions about using Clang for source to source transformation.
Fariborz Jahanian
fjahanian at apple.com
Thu May 6 09:15:07 PDT 2010
We have an objective-c to c++ source transformation. This involves a
combination of AST to c++ source xformation and
direct replacement of source with other source. Look at lib/Rewrite
and lib/Frontend/*Rewrite* files.
- Fariborz
On May 6, 2010, at 3:27 AM, mywayin2sky wrote:
> Hello,
> I'm working in a project involving source to source transformation
> of some arbitrary c code , I'm looking forward to using Clang
> my main problem is where to start , I can find approx. no
> documentation on topic
>
> Any existing source to source sample codes based on clang that can
> be of help as a starting point ?
> I want to know the Clang APIs for building a AST and rewriting codes
> from the AST.
>
> Thanks.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100506/9cf2ac35/attachment.html>
More information about the cfe-dev
mailing list