Fork for Pacman.

Ole 408e78f6d3 Add Lua 5.1 support on Linux %!s(int64=10) %!d(string=hai) anos
examples a82eda3ad5 Inline Lua code into example units %!s(int64=10) %!d(string=hai) anos
lib 408e78f6d3 Add Lua 5.1 support on Linux %!s(int64=10) %!d(string=hai) anos
tests 408e78f6d3 Add Lua 5.1 support on Linux %!s(int64=10) %!d(string=hai) anos
.gitignore 8e3dae8ca2 Add tests %!s(int64=10) %!d(string=hai) anos
LICENSE 8f17ec8aa8 Initial fork %!s(int64=10) %!d(string=hai) anos
Makefile 03e6d06c68 Use LDFLAGS when building examples %!s(int64=10) %!d(string=hai) anos
README.md 408e78f6d3 Add Lua 5.1 support on Linux %!s(int64=10) %!d(string=hai) anos

README.md

Gitter

Luwra

A header-only C++ library which provides a Lua wrapper with minimal overhead.

Requirements

You need will need a C++14-compliant compiler and a compatible Lua version.

Platform Lua 5.1 1) Lua 5.2 1) Lua 5.3
Linux (clang++ 3.6) works works works
Linux (g++ 5.1) works works works
FreeBSD 2) (clang++ 3.6) untested works works
FreeBSD 2) (g++ 5.1) untested works works
Everything else untested untested untested

1) Inherits the integer quirks that come with Lua 5.1, that why the types_numeric test case fails. 2) You need GNU make (devel/gmake) to use the attached Makefile.

Usage

Refer to the wiki pages. In order to use the library you must clone this repository and add its lib/ folder to your include path.