Parsing LUA download and testing programming environment learning tutorial

Source: Internet
Author: User

LUA downloadAnd test programming environment learning is the content to be introduced in this article, mainly to understand and learnLUA downloadAnd programming-related content, not to mention, details of the specific content here.

LUA learning address: http://www.luaer.cn /. (LUA China Developer Forum)

 
 
  1. Environment: lua for windows (lfW)
  2. Home: http://luaforwindows.luaforge.net/

Lua for windows is actually a complete Lua development environment, which includes:

 

For more details, go to the luaforge homepage.

This environment is recommended because it integrates windows learning and development.LuaAll the things are considerate for beginners. The accompanying SciTE can easily compile, compile, run, and debug Lua programs after simple configuration. It also comes with automatic prompts and code auto-completion functions. for developers who are familiar with VC + VA, it is really kind.

The entire lfW is introduced below:

DownloadLfw, the latest version is 5.1.3.13, which is directly installed. Note that the last step will ask if the SciTE editor uses the "black" style. I prefer the black background color, so check it here and continue later.
After the installation is complete, it is very easy to learn all the environments required by Lua.

Next, we can test whether the installation is successful.

Open SciTE, create a new file, and enter a line of lua code:

 

Save as hello. lua. Note that the file name suffix. lua must be added when saving the file; otherwise, the file may not run correctly.

Press F5. If the output window of SciTE appears

 

Indicates that the entire lua development environment is successfully installed.

IfSciTEIf the default color scheme or font is not satisfactory, click Open Global Options File in Options to view the Global configuration File of the SciTE environment. You can modify the font, color, window layout, and other values. If you cannot find the project you want to modify, go to Open black in Options. properties: if a white background is used, white is used here. properties) file, which stores more detailed property configuration.

Modifying these two files can basically satisfy the personal interests of most learning or developers. Also, in the Global Options File, find command. help. *. lua, followed by the lua manual file path in chm format popped up by pressing the F1 key in the editor. You need to modify the path here, correct the file path. Version 5.1.3 does not seem to have this problem ).

The whole environment also comes with a QuickLuaTour, which is a small console-based tutorial written in Lua, which is easy to understand.

Basically, the entire environment is like this. Then you can start learning Lua.

Summary: AnalysisLUA downloadAnd the content of the test programming environment learning tutorial has been introduced, I hope this article will help you!

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.