mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-11-19 11:48:21 +01:00
26 lines
293 B
Lua
26 lines
293 B
Lua
|
source = {}
|
||
|
sink = {}
|
||
|
pump = {}
|
||
|
filter = {}
|
||
|
|
||
|
-- source.file
|
||
|
dofile("ex5.lua")
|
||
|
|
||
|
-- sink.table
|
||
|
dofile("ex7.lua")
|
||
|
|
||
|
-- sink.chain
|
||
|
require"ltn12"
|
||
|
sink.chain = ltn12.sink.chain
|
||
|
|
||
|
-- normalize
|
||
|
require"gem"
|
||
|
eol = gem.eol
|
||
|
dofile("ex2.lua")
|
||
|
|
||
|
-- pump.all
|
||
|
dofile("ex10.lua")
|
||
|
|
||
|
-- run test
|
||
|
dofile("ex8.lua")
|