I want to use an eval function in Lua,
Can't make it work. Did not find documentation on it, does Lua even have an eval function ?
Code tried :
a=1
print(a)
eval('print(a)')
eval 'print(a)'
Official Lua demo interpreter : https://www.lua.org/cgi-bin/demo
Output :
1
input:3: attempt to call a nil value (global 'eval')