目的
lua嵌入式腳本在window下編寫測試。
http://www.lua.org/ftp/ ###lua版本
插件
pychamr-->setttings-->plugins--->lua ###安裝lua插件,安裝完畢重啟pycharm
lua-window
https://github.com/rjpcomputing/luaforwindows/releases
https://github.com/rjpcomputing/luaforwindows/releases/download/v5.1.5-52/LuaForWindows_v5.1.5-52.exe
注意:請根據你需要的lua版本下載對應的
配置
新建目錄,當做lua項目的家目錄
新建xxx.lua腳本,寫入 print('hello'),運行,彈出配置lua
###配置lua解釋器interpreter
運行
ctrl + shift + f10 ###運行lua腳本