title: Eval function in LUA 5.1
body: <p>I want to use an eval function in Lua,</p>
  
  <p>Can't make it work. Did not find documentation on it, does Lua even have an eval function ?</p>
  
  <p>Code tried :</p>
  
  <pre><code>a=1
  print(a)
  eval('print(a)')
  eval 'print(a)'
  </code></pre>
  
  <p>Official Lua demo interpreter : <a href="https://www.lua.org/cgi-bin/demo" rel="noreferrer">https://www.lua.org/cgi-bin/demo</a></p>
  
  <p>Output : </p>
  
  <pre><code>1
  input:3: attempt to call a nil value (global 'eval')
  </code></pre>