[cfe-dev] Clang to build a C++Script

Jean-Daniel Dupas devlists at shadowlab.org
Thu Oct 7 00:35:49 PDT 2010


Le 6 oct. 2010 à 22:31, fungos a écrit :

> Hi All,
> 
> I'm new to clang and llvm, and I want to learn both by doing a C++
> scripting language. My first question is: Is that possible?
> I know it may sounds weird or whatever, but for me it is a nice
> research tool and will help me learn llvm and clang for future uses.
> 
> There is a old project that does something similar, GLSHell, a C
> script to help opengl learning. I want to do something similar for
> some api/framework/library.
> 
> Can someone help me pointing me to what should I look for to be able
> to get clang and/or llvm into a scripting environment?
> 

You can have a look at examples/clang-interpreter in clang sources directory and also at ccons (http://code.google.com/p/ccons/) but I don't know its status.

-- Jean-Daniel








More information about the cfe-dev mailing list