is there a good example how to compile(execute) c code with libclang on the fly?

i want to compile simple c functions from strings with libclang and execute
them on the fly inside my application

its is for an simple function evaluator experiment with c as a scripting

any ideas/links?