lua-users home
lua-l archive

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


Quoth Andrew Starks:
> I've been following the development of nanomsg[1]. The lead author, Martin
> Sustrik[2], recently began using Mill[3], which is a preprocessor that
> generates C code.
>
> I thought this may be of interest, here.
>
> -Andrew
>
> [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