A language API for C++