lua-users home
lua-l archive

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


> This is sequencing, not pipeing...
>
> Pipeing means: Function a produces a _stream_ of data /while/ function 
> b consumes that stream.
>
> Is it possible (portable...) ?

You might want to take a look at the LTN12 functionality [1] in Diego's LuaSocket [2] (ideas behind it are described in [3]).

[1] http://w3.impa.br/~diego/software/luasocket/ltn12.html
[2] http://w3.impa.br/~diego/software/luasocket/
[3] http://lua-users.org/wiki/FiltersSourcesAndSinks