this is a basic implement about lua in C++