Python interpreter for BBM modules. More...
#include <cassert>#include <pybind11/embed.h>#include "util/macro_util.h"#include "io/dynamic_library.h"Go to the source code of this file.
Classes | |
| struct | interpreter< CONF > |
| Python interpreter with BBM module imported. More... | |
Namespaces | |
| namespace | bbm |
| namespace | bbm::python |
Functions | |
| template<typename RET_TYPE , typename CONF = get_config<RET_TYPE>> requires concepts::config<CONF> | |
| RET_TYPE | capture (const std::string &prog) |
| Helper function to execute a python string and capture the output. | |
| template<typename CONF > requires concepts::config<CONF> | |
| void | execute (const std::string &prog) |
| Helper function to execute a python string and ignore the output. | |
Python interpreter for BBM modules.