Top "Lua" questions

Lua is a powerful, fast, lightweight, embeddable scripting language.

https request in lua

I am trying to retrieve a page on my SSL enabled server with a lua script. Important to note that …

lua luasocket
How do I run an executable using Lua?

I have an executable I want to run using Lua ... how do I do this? Can't seem to find any …

lua executable
Making all the characters in a string lowercase in Lua

Here is the thing. I am trying to convert a string in lowercase in Lua, but it's not working. I …

string lua lowercase
Is there a better way to require file from relative path in lua

My directory structure looks like this: |-- ball.lua |-- entity.lua |-- test `-- ball_test.lua I'm using …

lua
Lua - convert string to table

I want to convert string text to table and this text must be divided on characters. Every character must be …

string lua lua-table
Difference between . and : in Lua

I am confused about the difference between function calls via . and via : > x = {foo = function(a,b) return a …

function lua
What does operator ~= mean in Lua?

What does the ~= operator mean in Lua? For example, in the following code: if x ~= params then

lua operators
<eof> expected near 'end'

I'm using these files in my gaming server, and every time I add a new player model, I get [ERROR] …

lua eof game-development
Lua - Reflection - Get list of functions/fields on an object?

I'm new to Lua and dealing with Lua as a scripting language in an alpha release of a program. The …

c++ reflection function object lua
Split a string using string.gmatch() in Lua

There are some discussions here, and utility functions, for splitting strings, but I need an ad-hoc one-liner for a very …

string lua lua-patterns