lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 8/11/2014 1:43 AM, Steven Degutis wrote:
[1]http://nanomsg.org
>[2]https://github.com/sustrik
>[3]http://millc.org/documentation.html
This reminds me of these macro-based coroutines[1] which inspired
these macro-based generators[2].

[1]http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html
[2]https://www.mikeash.com/pyblog/friday-qa-2009-10-30-generators-in-objective-c.html

All very cool, thanks for sharing.

There's also Christopher Kohlhoff's macros. [1]

And here's one I cooked up using a novel C++ template technique: [2].

Ross.

[1]http://blog.think-async.com/2010/03/potted-guide-to-stackless-coroutines.html
[2]http://www.devsuperpage.com/search/Articles.aspx?G=5&ArtID=895214