Top "Lua" questions

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

No package 'lua' found but i have it installed

I'm trying to install Lsyncd on Ubuntu 10.4 LTS but i get some error : > checking for LUA... no checking for &…

ubuntu lua pkg-config
Associatively sorting a table by value in Lua

I have a key => value table I'd like to sort in Lua. The keys are all integers, but aren't …

sorting lua lua-table asort
Creating standalone Lua executables

Is there an easy way to create standalone .exe files from Lua scripts? Basically this would involve linking the Lua …

windows lua
Function/variable scope (pass by value or reference?)

I'm completely confused by Lua's variable scoping and function argument passing (value or reference). See the code below: local a = 9 …

variables scope lua
Sort a Table[] in Lua

I have a Lua table that I am trying to sort. The table's format is as follows: tableOfKills[PlayerName] = NumberOfKills …

sorting lua lua-table
How do I use the bitwise operator XOR in Lua?

How can I implement bitwise operators in Lua language? Specifically, I need a XOR operator/method.

lua bitwise-operators logical-operators
Choose a random item from a table

My goal is to pick out a random item from a table in Lua. This is what I've got so …

random lua
Lua table.toString(tableName) and table.fromString(stringTable) functions?

I am wanting to convert a 2d lua table into a string, then after converting it to a string convert …

serialization lua lua-table
Get back the output of os.execute in Lua

When I do an "os.execute" in Lua, a console quickly pops up, executes the command, then closes down. But …

lua
subtle differences between JavaScript and Lua

I simply love JavaScript. It's so elegant (imagine the quiet sound of lovestruck fanboy sighing in the background). So, recently …

javascript lua