├── .gitignore ├── Makefile ├── README.md ├── bridge.lua ├── examples ├── blackjack.lua ├── more.lua └── replcli.lua ├── firsttest.txt ├── poker.lua ├── src ├── Makefile ├── lapi.c ├── lapi.h ├── lauxlib.c ├── lauxlib.h ├── lbaselib.c ├── lcode.c ├── lcode.h ├── lcorolib.c ├── lctype.c ├── lctype.h ├── ldblib.c ├── ldebug.c ├── ldebug.h ├── ldo.c ├── ldo.h ├── ldump.c ├── lfunc.c ├── lfunc.h ├── lgc.c ├── lgc.h ├── linit.c ├── liolib.c ├── ljumptab.h ├── llex.c ├── llex.h ├── llimits.h ├── lmathlib.c ├── lmem.c ├── lmem.h ├── loadlib.c ├── lobject.c ├── lobject.h ├── lopcodes.c ├── lopcodes.h ├── lopnames.h ├── loslib.c ├── lparser.c ├── lparser.h ├── lprefix.h ├── lstate.c ├── lstate.h ├── lstring.c ├── lstring.h ├── lstrlib.c ├── ltable.c ├── ltable.h ├── ltablib.c ├── ltm.c ├── ltm.h ├── lua.c ├── lua.h ├── lua.hpp ├── luac.c ├── luaconf.h ├── lualib.h ├── lundump.c ├── lundump.h ├── lutf8lib.c ├── lvm.c ├── lvm.h ├── lzio.c ├── lzio.h └── parseconf.h ├── test.c ├── test.lua ├── test2.lua ├── testbridge.c ├── testiface.c ├── testiface.h └── tests ├── Makefile ├── README.md ├── all.lua ├── api.lua ├── attrib.lua ├── big.lua ├── bitwise.lua ├── bwcoercion.lua ├── calls.lua ├── closure.lua ├── code.lua ├── constructs.lua ├── coroutine.lua ├── cstack.lua ├── db.lua ├── errors.lua ├── events.lua ├── files.lua ├── gc.lua ├── gengc.lua ├── goto.lua ├── heavy.lua ├── literals.lua ├── locals.lua ├── main.lua ├── math.lua ├── nextvar.lua ├── pm.lua ├── sort.lua ├── strings.lua ├── tpack.lua ├── tracegc.lua ├── utf8.lua ├── vararg.lua └── verybig.lua /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/.gitignore -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/README.md -------------------------------------------------------------------------------- /bridge.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/bridge.lua -------------------------------------------------------------------------------- /examples/blackjack.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/examples/blackjack.lua -------------------------------------------------------------------------------- /examples/more.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/examples/more.lua -------------------------------------------------------------------------------- /examples/replcli.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/examples/replcli.lua -------------------------------------------------------------------------------- /firsttest.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/firsttest.txt -------------------------------------------------------------------------------- /poker.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/poker.lua -------------------------------------------------------------------------------- /src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/Makefile -------------------------------------------------------------------------------- /src/lapi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lapi.c -------------------------------------------------------------------------------- /src/lapi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lapi.h -------------------------------------------------------------------------------- /src/lauxlib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lauxlib.c -------------------------------------------------------------------------------- /src/lauxlib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lauxlib.h -------------------------------------------------------------------------------- /src/lbaselib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lbaselib.c -------------------------------------------------------------------------------- /src/lcode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lcode.c -------------------------------------------------------------------------------- /src/lcode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lcode.h -------------------------------------------------------------------------------- /src/lcorolib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lcorolib.c -------------------------------------------------------------------------------- /src/lctype.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lctype.c -------------------------------------------------------------------------------- /src/lctype.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lctype.h -------------------------------------------------------------------------------- /src/ldblib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/ldblib.c -------------------------------------------------------------------------------- /src/ldebug.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/ldebug.c -------------------------------------------------------------------------------- /src/ldebug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/ldebug.h -------------------------------------------------------------------------------- /src/ldo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/ldo.c -------------------------------------------------------------------------------- /src/ldo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/ldo.h -------------------------------------------------------------------------------- /src/ldump.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/ldump.c -------------------------------------------------------------------------------- /src/lfunc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lfunc.c -------------------------------------------------------------------------------- /src/lfunc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lfunc.h -------------------------------------------------------------------------------- /src/lgc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lgc.c -------------------------------------------------------------------------------- /src/lgc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lgc.h -------------------------------------------------------------------------------- /src/linit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/linit.c -------------------------------------------------------------------------------- /src/liolib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/liolib.c -------------------------------------------------------------------------------- /src/ljumptab.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/ljumptab.h -------------------------------------------------------------------------------- /src/llex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/llex.c -------------------------------------------------------------------------------- /src/llex.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/llex.h -------------------------------------------------------------------------------- /src/llimits.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/llimits.h -------------------------------------------------------------------------------- /src/lmathlib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lmathlib.c -------------------------------------------------------------------------------- /src/lmem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lmem.c -------------------------------------------------------------------------------- /src/lmem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lmem.h -------------------------------------------------------------------------------- /src/loadlib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/loadlib.c -------------------------------------------------------------------------------- /src/lobject.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lobject.c -------------------------------------------------------------------------------- /src/lobject.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lobject.h -------------------------------------------------------------------------------- /src/lopcodes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lopcodes.c -------------------------------------------------------------------------------- /src/lopcodes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lopcodes.h -------------------------------------------------------------------------------- /src/lopnames.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lopnames.h -------------------------------------------------------------------------------- /src/loslib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/loslib.c -------------------------------------------------------------------------------- /src/lparser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lparser.c -------------------------------------------------------------------------------- /src/lparser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lparser.h -------------------------------------------------------------------------------- /src/lprefix.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lprefix.h -------------------------------------------------------------------------------- /src/lstate.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lstate.c -------------------------------------------------------------------------------- /src/lstate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lstate.h -------------------------------------------------------------------------------- /src/lstring.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lstring.c -------------------------------------------------------------------------------- /src/lstring.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lstring.h -------------------------------------------------------------------------------- /src/lstrlib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lstrlib.c -------------------------------------------------------------------------------- /src/ltable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/ltable.c -------------------------------------------------------------------------------- /src/ltable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/ltable.h -------------------------------------------------------------------------------- /src/ltablib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/ltablib.c -------------------------------------------------------------------------------- /src/ltm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/ltm.c -------------------------------------------------------------------------------- /src/ltm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/ltm.h -------------------------------------------------------------------------------- /src/lua.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lua.c -------------------------------------------------------------------------------- /src/lua.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lua.h -------------------------------------------------------------------------------- /src/lua.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lua.hpp -------------------------------------------------------------------------------- /src/luac.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/luac.c -------------------------------------------------------------------------------- /src/luaconf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/luaconf.h -------------------------------------------------------------------------------- /src/lualib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lualib.h -------------------------------------------------------------------------------- /src/lundump.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lundump.c -------------------------------------------------------------------------------- /src/lundump.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lundump.h -------------------------------------------------------------------------------- /src/lutf8lib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lutf8lib.c -------------------------------------------------------------------------------- /src/lvm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lvm.c -------------------------------------------------------------------------------- /src/lvm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lvm.h -------------------------------------------------------------------------------- /src/lzio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lzio.c -------------------------------------------------------------------------------- /src/lzio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/src/lzio.h -------------------------------------------------------------------------------- /src/parseconf.h: -------------------------------------------------------------------------------- 1 | #define BUILD_IS_LUA 2 | -------------------------------------------------------------------------------- /test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/test.c -------------------------------------------------------------------------------- /test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/test.lua -------------------------------------------------------------------------------- /test2.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/test2.lua -------------------------------------------------------------------------------- /testbridge.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/testbridge.c -------------------------------------------------------------------------------- /testiface.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/testiface.c -------------------------------------------------------------------------------- /testiface.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/testiface.h -------------------------------------------------------------------------------- /tests/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/Makefile -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- 1 | Tests from https://www.lua.org/tests/ 2 | -------------------------------------------------------------------------------- /tests/all.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/all.lua -------------------------------------------------------------------------------- /tests/api.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/api.lua -------------------------------------------------------------------------------- /tests/attrib.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/attrib.lua -------------------------------------------------------------------------------- /tests/big.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/big.lua -------------------------------------------------------------------------------- /tests/bitwise.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/bitwise.lua -------------------------------------------------------------------------------- /tests/bwcoercion.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/bwcoercion.lua -------------------------------------------------------------------------------- /tests/calls.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/calls.lua -------------------------------------------------------------------------------- /tests/closure.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/closure.lua -------------------------------------------------------------------------------- /tests/code.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/code.lua -------------------------------------------------------------------------------- /tests/constructs.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/constructs.lua -------------------------------------------------------------------------------- /tests/coroutine.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/coroutine.lua -------------------------------------------------------------------------------- /tests/cstack.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/cstack.lua -------------------------------------------------------------------------------- /tests/db.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/db.lua -------------------------------------------------------------------------------- /tests/errors.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/errors.lua -------------------------------------------------------------------------------- /tests/events.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/events.lua -------------------------------------------------------------------------------- /tests/files.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/files.lua -------------------------------------------------------------------------------- /tests/gc.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/gc.lua -------------------------------------------------------------------------------- /tests/gengc.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/gengc.lua -------------------------------------------------------------------------------- /tests/goto.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/goto.lua -------------------------------------------------------------------------------- /tests/heavy.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/heavy.lua -------------------------------------------------------------------------------- /tests/literals.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/literals.lua -------------------------------------------------------------------------------- /tests/locals.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/locals.lua -------------------------------------------------------------------------------- /tests/main.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/main.lua -------------------------------------------------------------------------------- /tests/math.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/math.lua -------------------------------------------------------------------------------- /tests/nextvar.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/nextvar.lua -------------------------------------------------------------------------------- /tests/pm.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/pm.lua -------------------------------------------------------------------------------- /tests/sort.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/sort.lua -------------------------------------------------------------------------------- /tests/strings.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/strings.lua -------------------------------------------------------------------------------- /tests/tpack.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/tpack.lua -------------------------------------------------------------------------------- /tests/tracegc.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/tracegc.lua -------------------------------------------------------------------------------- /tests/utf8.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/utf8.lua -------------------------------------------------------------------------------- /tests/vararg.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/vararg.lua -------------------------------------------------------------------------------- /tests/verybig.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artgreen/lua-iigs/HEAD/tests/verybig.lua --------------------------------------------------------------------------------