摘要:
想在subLime text 3中集成编译Lua(或其他语言)功能,只需要在Tool->Build System -> New Build System中将原来的
{
"shell_cmd": "make"
}
替换为下面的代码:
{
"cmd": ["c:/Users/Administrator/AppData/Roaming/Sublime Text 2/compile.exe", "$file"],
"file_regex": "^(?:lua:)?[\t ](...*?):([0-9]*):?([0-9]*)",
"selector": "source.lua"
} 阅读全文
摘要:
mac下安装lua(可借助:rudix 地址:http://rudix.org)
curl -s https://raw.githubusercontent.com/rudix-mac/rpm/2014.10/rudix.py | sudo python - install rudix
或者:curl -O https://raw.githubusercontent.com/rudix-mac/rpm/2014.10/rudix.py
sudo python rudix.py install rud 阅读全文