/raisin

Raisin is a priority based coroutine manager with a few additional twists

Primary LanguageLuaMIT LicenseMIT

Raisin | Threads made easy

Raisin is a priority based coroutine manager with a few additional twists. Its name in its prototyping stage was originally 'ryzen', the joke being that it was a 'threadripper'. Since ryzen had bad SEO, something similar was decided upon.

Raisin is designed for lua's coroutines to allow for many freedoms, such as manual prioritization, grouping, toggling, and a manual coroutine death termination amount.

Installation

You can install through LuaRocks:

$ luarocks install raisin

Or directly download the file/repo:

$ wget https://raw.githubusercontent.com/hugeblank/raisin/master/raisin.lua

Examples & Documentation

Documentation can be found on the wiki, located here

Examples are offered (for ComputerCraft) at this repository. If you have further demonstrations, or a better example of what is already provided please make a pull request, contribution is welcome!