What is the global context in Lua?

Lua as a language is very symmetrical in how it is implemented. When we compile a lua program it’s basically inserting values into a Lua table called the global content.

You can access this table from Lua using _G or from the lua_getglobal C function.

Â