AHK + LUA Interop (stdlib), proof of concept

37 views
Skip to first unread message

Chunlin Zhang

unread,
Feb 1, 2010, 1:46:48 AM2/1/10
to lua_cn
这个家伙用 ahk 的方式把 lua 整合了进去,挺有意思的

http://www.autohotkey.com/forum/topic44204.html

 
 

Sent to you by Chunlin Zhang via Google Reader:

 
 

via www.autohotkey.com on 1/31/10

LibLua
Quote:
What is Lua?
Lua is a powerful, fast, lightweight, embeddable scripting language.

Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode for a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping.


I've just started wrapping LUA for AHK. So far i've implemented the needed functions to:
- call ahk-functions from lua
- call lua-functions from ahk
- read lua-variables with ahk
- run a lua-script from within ahk

For now this is merely a proof of concept, but if you want to try it
- get the required libs from here (lua5.1.dll, lua51.dll)
- and examples + lua-ahk stdlib from here (zip)

 
 

Things you can do from here:

 
 
Reply all
Reply to author
Forward
0 new messages