Hacker News new | ask | show | jobs
by cturtle 1344 days ago
The other replies are correct, but there is a bit more to it.

Lua is a very small language with a tiny standard library. To extend it you write modules in C (or another language with bindings). This allows connecting the Lua code to various libraries. A notable example in lite is SDL. Without the C code in this repo the Lua code wouldn’t be able to use SDL for drawing or inputs