Technical requirements
To follow this chapter and this book, you will require the following:
- A working C++ compiler, preferably the GNU C++ Compiler or Clang/LLVM
- A build automation tool, preferably Make
- The code editor of your choice
- The Lua source code
- The source code for this chapter: https://github.com/PacktPublishing/Integrate-Lua-with-CPP/tree/main/Chapter01
You do not need prior Lua programming knowledge to understand this chapter. If you have any doubts relating to the Lua code examples in this chapter, that is fine; you can read it as C++ code, although there are syntax differences. You will learn Lua as you progress through this book. While it would be beneficial, you do not need to be a Lua expert if your focus is only on the C++ side.
We decided to use open-source compilers and build tools to work with the code examples in this book because they are readily available to everyone and are also the tools of choice in most large-scale projects...