SRL Archive - Research & Development Lounge

RSAT (Lua-interpreted autoing tool stub)


superuser

2013-01-01 13:35:04

Cheers,

Long time ago, I was about to develop completely new tool for autoing. However, I lost interest and it got left behind. Anyways, if somebody is interested, here's the source (C++) for your disposal. There's project files for VC2010 and almost all necessary libs (lua, luabind). However, I didn't bother to include wxWidgets or Boost there at all.

It can already interpret Lua where I implemented few internal functions as well (like io.console, message box, msleep, etc.). Actually, it's quite trivial to put SMART working there. IMO, there's several advantages to use Lua over Pascalscript, which was my original motivator back then.

I also left pre-built binary there as well.

E:

Had to remove some binaries (executable and debug-version of luabind dll) so that I could add an attachment.


Olly

2013-01-01 22:49:03

"IMO, there's several advantages to use Lua over Pascalscript" Care to say what you think they are? :)

superuser

2013-01-02 00:20:46

From: Ollybest
"IMO, there's several advantages to use Lua over Pascalscript" Care to say what you think they are? :)


Well, for starters, Lua has native support for coroutines to implement iterators and non-preemptive multi-threading. Then there's for example incremental garbage collector that has low latency, no additional memory cost, little implementation complexity, and support for weak tables. Lua even allows meta programming, overloading and powerful heterogeneous tables.

Too many good things to be listed here :)

ShawnjohnSJ

2013-01-02 21:18:06

From: superuser
Well, for starters, Lua has native support for coroutines to implement iterators and non-preemptive multi-threading. Then there's for example incremental garbage collector that has low latency, no additional memory cost, little implementation complexity, and support for weak tables. Lua even allows meta programming, overloading and powerful heterogeneous tables.

Too many good things to be listed here :)


I don't know what you just said, but Lua sounds sexy.