2010 19 5
LuaC++
( 430081)
C++ Lua
Lua Lua C++Lua
LuaC++
Research and Realization of Lua and C + + Cross-Method
DENG Zheng-Yang, CHEN He-Ping, SU Peng
(College of Information Science and Technology, Wuhan University of Science and Technology, Wuhan 430081, China)
Abstract: To make full use of the characteristics of Lua dynamic scripting language for the current development of
large and complex programs, which has the problem of high cost, this article focuses on how to simulate the
message mechanism based on event in the Lua script and visiting the C + + interface. The design of Lua
debugger is also presented.
Keywords: dynamic scripting languages; Lua; message mechanism based on event; C + + interface; debugger
program host
C++ Lua Lua
C Lua C
Lua
Lua Lua
Lua
Lua C
Lua
1 Lua C/C++
Lua
Lua
Lua ( /download.
html) XML,INI
Lua Lua
[1,2] Lua
Lua "main" (1) Lua
embedding
:2009-08-28;:2009-10-05
198 Experiences Exchange
2010 19 5
(2) L