Parsing C++ and creating a module

Hello,

I'm trying to create a C++ interpreter. Some time ago I wrote some code
which, if I remember correctly, was working correctly.