• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community

Lua compiler (1 Viewer)

Herly Quijano

Newcomer
Joined
Mar 19, 2021
Messages
70
Reaction score
7
I wanna test if some methods I created using Lua, but I don't where can I get its own compiler if is not a game that uses Lua, and I don't wanna open it everytime I need test something simple, is there a "basic compiler"?
 

stetre

Member
Rank: I
Joined
Jan 8, 2020
Messages
95
Reaction score
55
Location
Italy
Website
github.com
Even on Windows, once you have Lua installed (see @Sonazuma 's last post) you should be able to execute the Lua interpreter from the Windows prompt, like this:

Code:
lua.exe yourfile.lua

This should work, as long as the path to lua.exe is listed in the PATH variable.
 
Top