I’m trying to embed Cling into C++, so that I can use it to execute C++ ‘on-demand’. I’ve read a lot of articles that say the only things produced when you compile Cling is a Cling.exe which can run C++. I haven’t been able to successfully compile Cling yet so I don’t know.
My question is, is there any library/DLL I can use in C++ that will embed Cling? Ive heard about something called libCling but haven’t been able to get much information on that.
Currently we have unofficial Windows support and I don’t think we could be much helpful. Could you figure out the equivalent of what the embedding documentation says for Unix?
I think I am in a similar situation as you were earlier for embedding cling into my Windows C++ application.
Can you tell me which is the other C++ interpreter you found to do the job?