Reputation: 1407
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?
Upvotes: 1
Views: 10063
Reputation: 367
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.
Upvotes: 1