https://github.com/philips/beaming-up-alien
Example code of lua alien and C
https://github.com/philips/beaming-up-alien
Last synced: over 1 year ago
JSON representation
Example code of lua alien and C
- Host: GitHub
- URL: https://github.com/philips/beaming-up-alien
- Owner: philips
- Created: 2011-06-23T08:57:46.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2011-06-23T15:26:32.000Z (about 15 years ago)
- Last Synced: 2025-02-01T20:31:40.461Z (over 1 year ago)
- Language: C
- Homepage: http://ifup.org/~philips/review/beaming%20up%20with%20alien%20and%20lua.pdf
- Size: 104 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
Example code for Beaming up with Alien and Lua by Brandon Philips @ Open
Source Bridge 2011
All of this works in OS X 10.6. Patches accepted to get things working
in other OSes.
Install Pre-Reqs
================
brew install lua luarocks sqlite
luarocks install alien
alien-puts
----------
Example app for calling puts from lua with alien.
alien-sqlite
------------
Example app running sqlite queries from lua with alien
c-embed
-------
Example embedding lua into a C application
c-lua-pow
---------
Example of calling C code from lua
c-sqlite
--------
Example of using the sqlite API in C
libffi-speed
------------
Dirty test of libffi's speed
time
----
Stupid lua script
stack-dump
----------
Peek into libffi's working's with some GDB dumps