Hello I am new here.
I recently used Cling in a reverse engineering (RE) program and gave it the C++ REPL. The results were pretty powerful.
First, I wrapped Cling into a more lightweight convenient wrapper I called “Clinglite”: https://github.com/0xeb/clinglite
Finally, I glued everything together into the RE program under: https://github.com/allthingsida/idacpp
Thanks Cling team. I also had to post a bunch of PRs and patches to make this work nicely for that product.