-- "C"-ify a lua program output_file = io.open(arg[2], 'w') output_file:write('const char *argent_script =\n') for line in io.lines(arg[1]) do output_file:write(' "'..line..'\\n"\n') end output_file:write(';') output_file:close()