简体   繁体   中英

Running Lua scripts - Windows 64 bit

Recently I've started learning Lua programming language but I don't know how to run the scripts I'm writing(.lua files). Basically I'm practicing in eclipse with Eclipse LDT, but I want to run my scripts more freely, like in cmd. What do I need to do?

You can download the Lua source here or the binaries here . After that, simply install the Lua interpreter and open your command line.

There are two ways to use Lua with the shell:

directly:

lua

running a Lua script:

lua script.lua

In this post you can find various Lua editors or development environments.

Please use google or other search engines first.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM