-1
votes
0answers
53 views

Is it possible to integrate python with Corona SDK? [closed]

I'm thinking about using Corona to develop a mobile app. I'd like to integrate some of my already coded python functions (and would prefer that they stay in python...for now). During my investigation, ...
1
vote
1answer
36 views

Can Lupa be used to run untrusted lua code in python?

Let's say I create LuaRuntime with register_eval=False and an attribute_filter that prevents access to anything except a few python functions. Is it safe to assume that lua code won't be able to do ...
3
votes
1answer
112 views

Can Flask (Python) be ported to Lua?

Is there anything Flask (the Python webframework) does that Lua as a language doesn't support? I'd like to re-implement Flask, which is developed in Python, over to Lua to create a new Lua ...
0
votes
1answer
68 views

Search for a key in lua which contains a certain string

I have multiple lua files which contain information I would like to extract via Python. To use Lua inside Python I'm using lunatic-python, but thats not a requirement - if you have other approaches ...
-1
votes
1answer
354 views

Game Development in Python, ruby or LUA? [closed]

I have experience in game development in some game engines in Action Script 3 and C++. However, I would like to improve the productivity and so I want to develop a new project in Python, ruby or LUA. ...
0
votes
1answer
109 views

Embedded scripting language with C/C++ API for multithreading environment [closed]

I'm looking for an embedded scripting language. I don't need anything fancy, just basic constructs like conditionals, loops, logic and arithmetic operations etc. I have the following requirements ...
1
vote
1answer
98 views

How to use lua with python on Mac OS Mountain Lion

I have been using Lupa 0.20 + LuaJIT 2.0.0 for embedding lua on python 2.7 code in a W7 box. Unfortunately, I could not make it work on Mountain Lion Mac OS. I am able to compile LuaJIT and Lupa, ...
1
vote
5answers
303 views

Is Lua embedded in C++ capable of having persistent local variables? If not, is there a scripting language that does?

I have embedded Lua in my C++ application using LuaBind. I need to have variables that persist across multiple runs, that can't be accessed by other objects that run the same file name. For example: ...
6
votes
6answers
398 views

Why should I embed a scripting language? [closed]

I am learning C++ now and I have heard a lot about embedded scripting languages. I imagined it completely different. I thought I would write all of my performance heavy functions in C++ and call them ...
0
votes
1answer
136 views

Scripting language to be integrated in the C++ project [closed]

We want to add some script functionality to our project written in C++. In previous versions we had custom language created specially for our application. Now we want to use one of the popular ...
2
votes
1answer
137 views

Compiling lunatic python on windows

I'm trying to compile lunatic python on windows with minigw. The command is as follows: gcc.exe -shared -DLUA_BUILD_AS_DLL src\luainpython.c src\pythoninlua.c liblua.a libpython27.a ...
0
votes
3answers
302 views

How to parse a xls file? (Known languages : Python, Java, Lua)

I am trying to parse this xls file: http://web.iyte.edu.tr/sks/xls/Agustos_Menu_2012.xls Orange places have date and belove those dates there are food list of that day. So can you please suggest me ...
3
votes
3answers
134 views

chinese charactors eat other charactor when lua loadstring

when i load data in lua by loadstring, some magic chinese charactors fail. RawData = '{a="a朶b"}' Data = loadstring("return " .. RawData)() that's because: "朶" 's ascii char(gbk encoding) is 0x96 ...
2
votes
1answer
99 views

Is there a Python's defaultdict functionality available in Lua

Is there a functionality in Lua similar to collections.defaultdict available in Python, which automatically handles default values for non-existent associative array keys? I want the code below to ...
2
votes
1answer
176 views

Python has dir(obj) and help(obj), is there an equivalent in Lua?

For any one unfamiliar with those two methods in Python... dir returns a list of methods/properties of a specific object. help returns an objects doc strings.

1 2 3 4 5
15 30 50 per page