본문 바로가기
개발/LUA

[LUA] 개발 환경 만들기

by esstory 2019. 9. 30.

루아 설치하기

 

1. 루아 개발 사이트에서 루아 내려받기 

http://www.lua.org/

 

The Programming Language Lua

 

www.lua.org

 

2. 내려 받은 ZIP 파일을 열어 적당한 폴더 (예: d:/dev/lua) 에 풀어 준다. 

단, lua53.exe 는 파일이름을 lua.exe 로 변경한다. 

 

3. 시스템 속성창에서 환경 변수 Path에 Lua 실행파일의 위치를 추가한다.

 

VSCODE  설치

1. Visual Studio Code 내려 받아 설치

https://code.visualstudio.com/

 

Visual Studio Code - Code Editing. Redefined

Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications.  Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.

code.visualstudio.com

 

2. 확장 기능에 Code Runner, Lua, Lua Debug를 설치하자 

 

루아 실행하기 

새로운 루아 파일을 작성하고 Code Runner 를 통해 실행한다 (시스템 속성의 Path에서 Lua.exe를 찾아 해당 파일을 실행해 준다)

댓글