Summary
In this chapter, we first explored how to map Lua types to C++ types, with the goal of ease of use in C++ function calls. Then, we learned about a general way to call any Lua functions.
This chapter progressed step by step. You continued to improve the Lua executor. Each step produced a milestone. This, in turn, was based on the work from the last chapter. Going through the following exercises will also give you a chance to recap what you have learned with hands-on coding. We will continue the book with this methodology.
In the next chapter, we will learn how to integrate Lua tables.