Rings is a library which provides a way to create new Lua states from within Lua.
C Lua Makefile
Latest commit 9ee8669 Jul 5, 2016 @mpeterv mpeterv Fix passing integers to dostring and remotedostring
When copying arguments for dostring and remotedostring
between two Lua states, under Lua it is important to keep integers
integers. Previously 'lua_pushnumber(state1, lua_tonumber(state2, idx))'
was used which turned all numbers into floats. Fix by checking if a number
is an integer using 'lua_isinteger' first.
Failed to load latest commit information.
doc/us Use local doc.css file, suitable for offline reading. Jan 29, 2014
rockspecs
src
tests
vc6 vc6 project Mar 14, 2006
.gitignore
Makefile
Makefile.win
README.md
config
config.win Changes related to the new build strucutre using Lua 5.1 default paths May 18, 2007
configure

README.md

Rings - Multiple Lua States

http://keplerproject.github.io/rings/

Overview

Rings is a library which provides a way to create new Lua states from within Lua. It also offers a simple way to communicate between the creator (master) and the created (slave) states.

Rings is free software and uses the same license as Lua 5.x (MIT).

Download

Rings can be downloaded in source code from its Github page:

http://github.com/keplerproject/rings

Installation

If you are using LuaRocks just type

luarocks install rings

If you prefer to install manually, the compiled binary file should be copied to a directory in your C path. The file stable.lua should be copied to a directory in your Lua path.

History

Version 1.3.0 [30/Jan/2013]

  • Support for Lua 5.2

Version 1.2.3 [20/Oct/2009]

  • Fixing an old reference to "arg" instead of {...} - Reported by MFarm

Version 1.2.2 [30/Jun/2008]

  • Fixed a stack handling issue (bug report and patch by Shmuel Zeigerman)

Credits

Rings was designed by Roberto Ierusalimschy and Tomas Guisasola as part of the Kepler Project. The implementation was coded by Tomas Guisasola.

Rings development was sponsored by Fabrica Digital.