lua-users home
lua-l archive

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


> 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