https://github.com/norman/hello-lua
A demo of how to make simple C modules for Lua
https://github.com/norman/hello-lua
Last synced: 5 months ago
JSON representation
A demo of how to make simple C modules for Lua
- Host: GitHub
- URL: https://github.com/norman/hello-lua
- Owner: norman
- Created: 2010-12-10T21:31:49.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2010-12-10T21:32:48.000Z (about 15 years ago)
- Last Synced: 2025-04-30T20:04:57.293Z (9 months ago)
- Language: C
- Homepage:
- Size: 85.9 KB
- Stars: 34
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hello Lua!
This is a simple hello-world module for Lua, intended for learning
about writing modules in C.
It shows how to:
* Make the C module
* Make a basic Makefile to compile it
* Make a rockspec to distribute it with [LuaRocks](http://www.luarocks.org/)
* Make a test program to test it
The test program can be executed as plain Lua, or with [Shake](http://shake.luaforge.net/).