Ubuntu 14.04 familiar with Lua syntax _lua

Source: Internet
Author: User
Tags lua sublime text

As Lua matures, it becomes more widely used in servers. I want to develop this, so I began to study in Lua.

To learn a new language, you should first compile, install, deploy, and then practice the development debugging environment ... However, I do not have the project to do ah, I just want to familiarize themselves with the LUA grammar, not necessarily so complicated. So we started looking for a simple LUA IDE. Pick to pick, choose a Zerobrane Studio, because it is small, you can single step debugging. In addition, there are not so many choices under Linux, I do not want to just start learning with a sublime text to write a Xxx.lua and then to the shell to perform Lua Xxx.lua.

Zerobrane Studio is free and open source, but if it's for work and conditional, you can pay for it. Download the corresponding installation package in http://studio.zerobrane.com/. Install the package as zerobranestudioedupack-1.00-linux.sh under Linux and run the installation directly.

If it goes well, search for zero in the dash to see Zerobrane studio.

Zerobrane Studio as a lightweight IDE is very good, at least to learn that you can put aside the environment deployment, you can also step through the stack to view ...

Zerobrane Studio comes with the compiled LUA binaries, which is why LUA is also possible to run and debug Lua in the system. After installing the files in Opt/zbstudio, as you can see in/opt/zbstudio/bin/linux/x64, there are Lua, Lua52, lua53 three LUA parsers, indicating that ZBS supports these three versions, in the menu Project/lua The interpreter can be selected. You can set the Font, tab indent, highlight, and shortcut keys in edit/preferences. If you already have LUA installed, you can also specify your own LUA path here. But this is a LUA configuration file, refer to its documentation.

Lua, as an adjunct script, rarely runs on its own. Therefore, if you are developing as a project, Zbs clearly does not provide a LUA library, at least the header files are not. I have not yet tested ZBS if you can debug other projects like Decode.

The above is the entire contents of this article, I hope to be able to learn the LUA grammar help.

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.