Build LUA Environment under Mac

Source: Internet
Author: User
Tags lua sublime text

Install Lua under Mac (with: Rudix address: http://rudix.org)

Curl-s https://raw.githubusercontent.com/rudix-mac/rpm/2014.10/rudix.py | sudo python-install rudix -o https://raw.githubusercontent.com/rudix-mac/rpm/2014.10/rudix.pysudo    Install rud

Then run the sudo rudix install LUA command to

It is so simple (hint: rudix.py address may change, can refer to Rudix address)!

Install ied:sublime Text 2[This sexy editor, great]

Run script: Sublime text2 above select: Input: {"cmd": ["/usr/local/bin/lua", "$file"], "File_regex": "^ (... *):( [0-9]*):? ([0-9]*) "," selector ":" Source.lua "} is saved as Lua.sublime-build, and then the Tools-build system can choose Lua to compile the script (such as) PS: Most of the online find is" cmd ": ["Lua", "$file"] maybe I'm using Rudix to install LUA automatically, need to change the path Lua's edit and run environment has been set up to create a new Xx.lua file, write a statement, choose LUA as the build system, click Command+b, can run out.

Build LUA Environment under Mac

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.