Source: http://www.cppblog.com/Leaf/archive/2009/05/16/83145.html
It is said that the author of this article is ogdev's hack master.
Use examples to learn about Lua (1) ---- Hello World
1. PrefaceThe scripting language is indispensable in
Environment: Lua for Windows (LfW)Home: http://luaforwindows.luaforge.net/https://code.google.com/p/luaforwindows/Lua for Windows is actually a set of LUA development environments that include:LUA interpreter (LUA interpreter)Lua Reference Manual
What is the environment?http://www.lua.org/manual/5.1/manual.html#2.9
Besides Metatables, objects of types thread, function, and UserData has another table associated with them, called their Environment. Like Metatables, environments is
Original address: Http://blog.segmentfault.com/hongliang/1190000000631630Cocos2d-x best practices for invoking custom C + + classes and functions under LUAAbout Cocos2d-x under the LUA call C + + documentation looked a lot, but no one really to
This series of tutorials mainly describes how to embed Lua scripts in C + + programs, and I intend to introduce them in the following ways:
1. How to embed a LUA script in C + +
2.Lua access to C + + data structures (here you will introduce
LuaThe programming language is a simple, lightweight, and scalable scripting language. Lua reads/'lua/(Lu Ah), which means "Luna" (Moon) in Portuguese.
Directory[Hide]
1 goal
2 features
3 program examples
4 types
Lua is an embedded scripting language, that is, LUA is not a stand-alone program, and in practice, there are two main forms of application. The first is that C/s + + as the main program invokes the LUA code, which at this point can be viewed as
This is a systematic learning of the scripting language of Lua these days, and the Lua script is a lightweight script that is also known as the most performance-efficient script, used in many areas where performance is required, such as: Game
Lua is a simple and powerful language, and its own strong extensibility makes this language play an important role in the game design and other fields. Bloggers have used the language in Unity3d, and have studied and discussed the content of LUA and
Lua is a very lightweight and nice scripting language. As the most frequently used table in Lua, Lua still has many advantages and disadvantages;
The following is a blog about Lua table by Daniel Yunfeng, which can be used to gain a glimpse of the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.