5
Working with Lua Tables
In this chapter, we will continue to improve our Lua executor to work with tables. Many of the mechanisms are extensions of the learnings from the previous chapter. You will also learn about object-oriented programming (OOP) in Lua and how to call Lua object methods. In all, Lua objects are Lua tables by nature.
We will cover the following topics:
- Working with Lua table entries
- Working with Lua arrays
- OOP in Lua
- Working with Lua table functions
Technical requirements
Here are the technical requirements for this chapter:
- You can access the source code for this chapter at https://github.com/PacktPublishing/Integrate-Lua-with-CPP/tree/main/Chapter05.
- You can understand and execute the code in the begin folder from the ...
Get Integrate Lua with C++ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.