study project that converts an architecture of lua from c to c++