A BEAM API for C/C++ and Python programmers