Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JakobOvrum/LuaCpp
Bridge between Lua and C++ which completely abstracts the Lua stack.
https://github.com/JakobOvrum/LuaCpp
Last synced: 13 days ago
JSON representation
Bridge between Lua and C++ which completely abstracts the Lua stack.
- Host: GitHub
- URL: https://github.com/JakobOvrum/LuaCpp
- Owner: JakobOvrum
- License: other
- Created: 2010-07-14T21:33:49.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-07-16T10:25:05.000Z (over 14 years ago)
- Last Synced: 2024-08-01T19:52:05.051Z (3 months ago)
- Language: C++
- Homepage:
- Size: 227 KB
- Stars: 31
- Watchers: 5
- Forks: 4
- Open Issues: 6
-
Metadata Files:
- Readme: readme.markdown
- License: LICENSE
Awesome Lists containing this project
README
Hello, world!
==============================
#includeint main()
{
lua::state lua;
lua.openLibs();
lua::function print = lua["print"];
print("Hello, world!");
}LuaC++
==============================
LuaC++ is a bridge between Lua and C++ which aims to remove the need to use the C API, including the Lua stack. It currently supports Lua version 5.1.Check out the example/ and test/ subdirectories for usage examples.
Documentation
------------------------------
Documentation can be browsed online [here](http://jakobovrum.github.com/LuaCpp/index.html), or checked out at the gh-pages branch.Alternatively, run `doxygen Doxyfile` from the project root directory to generate documentation from source (you might want to change the OUTPUT_DIRECTORY configuration value found in Doxyfile).
Requirements
------------------------------
LuaC++ makes use of the following C++0x features, which means your favorite compiler might not yet be able to compile and use LuaC++:* variadic templates
* rvalue references
* the tuple moduleAdditionally, as LuaC++ uses C++ exceptions for error handling, make sure your Lua library is compiled as C++.
License
==============================
LuaC++ is licensed under the terms of the MIT license, see the LICENSE file for more information.