Skip to content
Coxpcall encapsulates the protected calls with a coroutine based loop, so errors can be dealed without the usual pcall/xpcall issues with coroutines.
Lua Makefile
Latest commit ba5dcfe Feb 22, 2016 @hishamhm hishamhm Merge pull request #14 from siffiejoe/performance
Performance improvements.
Failed to load latest commit information.
doc Remove useless us/ dir. Feb 1, 2016
rockspec Fix scm rockspec. Feb 22, 2016
src Avoid packing arguments in a table. Feb 22, 2016
tests Add some test cases. Feb 22, 2016
Makefile DESTDIR compatibility + DOC_PREFIX May 14, 2013
Makefile.win
README.md
configure makefiles Jan 22, 2008

README.md

Coxpcall

Coxpcall encapsulates the protected calls with a coroutine based loop, so errors can be handled without the usual pcall/xpcall issues with coroutines for Lua 5.1.

http://keplerproject.github.io/coxpcall/

Using Coxpcall usually consists in simply loading the module and then replacing Lua pcall and xpcall by copcall and coxpcall.

Coxpcall is free software and uses the same license as Lua 5.1.

Coxpcall can be downloaded from its GitHub page. You can also get Coxpcall using LuaRocks: luarocks install coxpcall

Lua 5.2 was extended with the Coxpcall functionality and hence it is no longer required. The 5.2+ compatibility by coxpcall means that it maintains backward compatibility while using the built-in Lua implementation.

Something went wrong with that request. Please try again.