Open up a terminal window (command prompt), drag and drop the luna.exe file on it, then drag and drop your source .lua file and then type the name of the .tns file you want
I recommand you to cd in the same folder as your lua exe and /lua source file, then you'd just have to type :
" luna.exe mySourceCode.lua myTNSdocument.tns "