In all the time it's taken you to write these emails, you could have looked up the documentation.
langobject = lang.new()
pattfile = io.open(kpse.find_file('hyph-el-polyton.pat.txt'), 'r')
lang.patterns(langobject, pattfile:read('*all'))
tex.print '\\language' .. lang.id(langobject)
Best,
Arthur
