Lua?

Monkey Forums/Monkey Programming/Lua?

zoqfotpik(Posted 2014) [#1]
What is the status of Lua support in Monkey? I know someone was working on it a while back... even if it's just a C++ external that would be OK.


Nobuyuki(Posted 2014) [#2]
If you don't see an active thread about it in Modules then you can probably safely consider it dead. IIRC, Samah or Revills or someone was working on one last?


zoqfotpik(Posted 2014) [#3]
Something like that.


Goodlookinguy(Posted 2014) [#4]
The last commit to MonkeyLua was June of 2013: https://code.google.com/p/monkeylua/source/list - you can assume the project to be on standby or abandoned. In the meantime if you're looking for this kind of thing you may want to look into my MiniC N.Edition. It's becoming quite robust and I'm still actively developing it: http://www.monkey-x.com/Community/posts.php?topic=7733


Samah(Posted 2014) [#5]
MonkeyLua *works* last time I checked. I haven't tried compiling it with the latest version of Monkey though, so it may need some fixes.
At the moment it's just an extern for platforms that support C/C++. I looked at working on a pure Monkey implementation, but the lack of structs meant that there'd need to be a lot of wrapper objects. Also, to properly support coroutines, you need decent threading support.

I can look at the pure Monkey implementation again, but it'd need to be heavily optimised for managed targets. Also I can't guarantee that coroutines would be fully implemented. I'm currently working on another project, but Lua is my first love. :)

Samah