lua
lua gsub special replacement producing invalid capture index
I have a piece of lua code (executing in Corona): local loginstr = \"emailAd开发者_JAVA技巧dress={email} password={password}\"[详细]
2023-04-13 04:48 分类:问答Lua Equivalent for NumPy and SciPy?
I\'m thinking of learning lua, i learned that it is a smaller language compared to python and has an efficient JIT compiler implementation in the form LuaJIT.[详细]
2023-04-13 04:08 分类:问答what is the way to represent a unichar in lua
If I need to h开发者_开发技巧ave the following python value, unicode char \'0\': >>> unichr(0)[详细]
2023-04-13 01:16 分类:问答How can a variable be part of another variables name in lua?
I want to set dynamic vari开发者_运维百科able names. such as function make(name) local name..bar = \"ipsum\"[详细]
2023-04-13 00:55 分类:问答Lua Api unit test
Is there are any existing unit tests for lua Api? I\'ve been searching for like an hour and all I found is this li开发者_运维问答nk -http://www.inf.puc-rio.br/~roberto/lua/lua5.1-tests.tar.gz[详细]
2023-04-12 13:23 分类:问答How to effectively handle object removal of objects with Corona SDK
just starting to play around with the awesome corona sdk. I started building a simple shooter game. I have the following code :[详细]
2023-04-12 07:34 分类:问答With Lua, what's the easiest way to start writing code? [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-04-12 05:44 分类:问答Doesn't Lua have something comparable to Ruby's method_missing?
I seem to recall Lu开发者_如何学运维a has something similar to Ruby\'s method_missing.Or am I remembering incorrectly?The __index and __newindex of a table\'s metatable can be used to the same effect[详细]
2023-04-12 03:11 分类:问答Lua: 'pairs' doesn't iterate over [1]
I quickly had to debug something, and wrote following function: function dumpTable(t) for i,v in pairs(t) do[详细]
2023-04-11 14:41 分类:问答Exposing Ogre functions using tolua++
I want to know h开发者_高级运维ow do I expose Ogre library functions, for example: pitch, yaw to rotate a camera..I want to control the camera for my application using a lua script. I m doing the bind[详细]
2023-04-11 12:01 分类:问答