title: How to compile .lua into Windows .exe?
body: <p>Question related to Windows platform only. </p>
  
  <p>I can't find documentation on how to approach this. </p>
  
  <p>There are dozens of posts about this, yet most provide answers for mac/linux, most windows specific parts lead to dead links or README's that have no useful information. </p>
  
  <p>How do I, for example, make an .exe of the code below? The intent being to share it with another windows user, so that when they click it...it automatically runs the program in command prompt or wherever .exe are supposed to run without them needing to have lua/luac installed on their system.  </p>
  
  <p>Or perhaps I'm missing the point here and you need lua/luac installed, otherwise you would need to convert to a program language that's already installed on everyones' windows systems like C...? Regardless I need something that works for the purpose described. Could I make a folder with lua.exe and luac.exe and input.lua and make an .exe that loads command prompt and runs the command to compile input.lua? new_folder: lua.exe, luac.exe, input.lua, run.exe</p>
  
  <pre><code>&gt; --input.lua   
  print("type ur name")   
  name=io.read()   
  print(#name)   
  print("your name is " name)  
  </code></pre>