t1.lua 292 B

12345678910111213141516171819202122232425
  1. source = {}
  2. sink = {}
  3. pump = {}
  4. filter = {}
  5. -- source.chain
  6. dofile("ex6.lua")
  7. -- source.file
  8. dofile("ex5.lua")
  9. -- normalize
  10. require"gem"
  11. eol = gem.eol
  12. dofile("ex2.lua")
  13. -- sink.file
  14. require"ltn12"
  15. sink.file = ltn12.sink.file
  16. -- pump.all
  17. dofile("ex10.lua")
  18. -- run test
  19. dofile("ex1.lua")