Practice Lua under Ubuntu 14.04

Source: Internet
Author: User
Tags lua sublime text

As Lua matures, applications are becoming more widespread in servers. I also want to develop in this area, so I began to learn Lua.

To learn a new language, you should first compile, install, deploy the development debugging environment, and then practice ... However, I do not have a project to do now, I just want to familiarize myself with the LUA grammar, there is no need to be so complicated. So we started looking for a simple LUA IDE. Pick and choose a zerobrane Studio, the reason is that it is small, can be single-step debugging. In addition, there are not so many choices under Linux, I do not want to just start learning to use a sublime text to write a Xxx.lua and then to the shell to execute LUA Xxx.lua.

Zerobrane Studio is free to open source, but if it is for work and conditions, 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 great, at least to learn that you can put aside the environment deployment, you can also step into debugging, view the stack ...

Zerobrane Studio comes with compiled Lua binaries, which is why LUA is not installed in the system and can be run and debugged. After installing the file in Opt/zbstudio, as can be seen 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 a subordinate script, rarely runs on its own. So if, as a project development, Zbs obviously did not provide a LUA library, at least the header file would not. I also haven't tested whether ZBS can debug other projects like Decode.

Practice Lua under Ubuntu 14.04

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.