Skip to content

torus/lua-call-cc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lua call/cc

This script tested on Lua 5.1.4 with coroutine.clone patch

Synopsis

function main()
   callcc(func)
   ...
end
callcc_run(main)

Sample

  • simple_callcc.lua

    A simple escape demo.

  • callccpuzzle.lua

    Lua version of call/cc puzzle.

License

MIT (same as Lua license)

About

implementing call/cc on Lua script language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages