With this code:
for n in pairs(_G) do print(n) end
I print the names of all global variables defined in the current environment.
Is there any way to print all Lua keywords (and
,break
,do
,else
,elseif
,end
,false
,for
,function
,if
,in
,local
,nil
,not
,or
,repeat
,return
,then
,true
,until
,while
)?