Miqueas / Lua-C-API-Examples

Some C code I wrote while learning the Lua C API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lua-C-API

A personal repo where I push things while I'm learning the Lua C API! Feel free to contribute :)

NOTE: I really think that the Lua C API and this examples can be highly self-explained, BUT I recommend you to always check the Reference Manual to see in detail how every thing works

Building

If you want to build this, you'll need Meson and Lua 5.1 development files and then:

meson . _BUILD
ninja -C _BUILD

And in the _BUILD folder you'll see the compiled files

Running tests

Just:

meson test -C _BUILD

References

I mainly readed the Official Reference Manual but I also saw this:

And finally, thanks to the members of the Telegram Group!

Why Lua 5.1?

Yes ✔️

About

Some C code I wrote while learning the Lua C API


Languages

Language:C 74.8%Language:Meson 22.5%Language:Lua 2.7%