I have seen on the web that there is a libCling to be used for embedding cling into other apps.
I did not find it in the cling distribution for OS X though. Maybe it’s just me being blind but could you please tell me how to find it?
Also, I tried embedding by using the static libs used to compile cling.cpp as written on another post and it looks like there is a dependency with termcap (or ncurses).
The static libs are the way to go; libCling is ROOT’s packaging of cling. the dependency on curses comes from libclingUserInterface; just don’t link that if you don’t want a prompt. Easy!