Clang to build a C++Script

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Clang to build a C++Script

fungos
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?

Thank you.
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Clang to build a C++Script

Jean-Daniel Dupas-2

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





_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev