luaguides

Tutorial series

Lua C API

1 tutorial — follow in order for the best learning path.

  1. The Lua C API: Stack and State

    Learn the Lua C API fundamentals: how lua_State manages execution contexts, how the virtual stack works, and how to push, query, and pop values from C.