Embedded_ipython is a project mainly written in PYTHON and C++, it's free.
Exploring integrating an IPython editor into a C++ application