lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



this "lack" of control is not necessarily a lack but a way of design. Personally, i think it's only good that C code and Lua code are shown their corners and that each side knows what it can do best.

Give me some example, where you'd like more control and I'll show you how I'd solve it.



Håkon Evensen kirjoittaa keskiviikkona, 16. heinäkuuta 2003, kello 11:11:

Because i wanted a less crappy way of doing it.. one using the lua api and not lua scripting features..

Even though lua seems like a great scripting language, its lacking some expected features. From a c program you can't take control of the execution neither the local variables.

The examples doesnt show how to take control of the lua script, but rather how to write the lua script to give the host program some degree of control. I can ofcourse preprosess and "insert" the control code, but i just didnt at first believed the degree of lacking control from the host program..

but thanks anyway..

h

At 11:47 AM 7/15/2003 -0400, you wrote:

Håkon Evensen wrote:
Is it possible to fetch variable reads/writes?

I find it rather odd that you ask the same question again. Would rewriting the answer in C help?

http://lua-users.org/lists/lua-l/2003-07/msg00107.html

- Peter Shook