A simple hardware agnostic library written in C++11 implementing coroutines/state machines. For best results include STL.
Please check extras/main.cpp for example running on x86.
The current implementation has been tested on x86 and ESP8266 and should also work on AVRs.