Fork for Pacman.

Ole 313a58e5fd readme: Correct note and asterisk about integer assertions пре 10 година
examples a82eda3ad5 Inline Lua code into example units пре 10 година
lib 408e78f6d3 Add Lua 5.1 support on Linux пре 10 година
tests a6e191edcf tests: Do not require 'types_numeric' to pass пре 10 година
.gitignore 8e3dae8ca2 Add tests пре 10 година
LICENSE 8f17ec8aa8 Initial fork пре 10 година
Makefile a8e21d2b92 build: Add LUA_* variables пре 10 година
README.md 313a58e5fd readme: Correct note and asterisk about integer assertions пре 10 година

README.md

Gitter

Luwra

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

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.

Requirements

You need a C++14-compliant compiler and at least Lua 5.1 to get this library to work.

Tests

The attached Makefile allows you to run both examples and tests using make examples and make test respectively. You might need to adjust the LUA_* variables, so Luwra finds the Lua headers and library.

So far all tests have been run on recent versions of Arch Linux and FreeBSD, with following results.

Compiler Lua 5.1 Lua 5.2 Lua 5.3
clang++ 3.6 partial* partial* passes
g++ 5.1 partial* partial* passes

* Assertions relying on integers will fail, due to integer quirks in Lua.