[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: pipeing fucntions
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 25 Jun 2012 15:04:00 -0300
> Pipeing means: Function a produces a _stream_ of data
> /while/ function b consumes that stream.
You can do that with coroutines. See an example in the token filters I wrote.
See the talks at the Lua Workshops in 2005 and 2006:
http://www.tecgraf.puc-rio.br/~lhf/ftp/doc/oral/luaws05.pdf
http://www.lua.org/wshop06/Silverstone2.pdf