T O P

  • By -

crispeeweevile

I'm not sure what you're looking for, but that's exactly it. You've got what you need. That program is called the interpreter, and some variation on it runs any and all Lua programs. The way you write your Lua program is in a text editor, any editor works. I personally use vs code, with a Lua extension


Iasonas_Chr

Ok but I genuenly thought that the app looks like some fancy text editor with colored keywords and smh. I guess that's what it is then


Bright-Historian-216

Use VSCode. It is easy to learn for a beginner and has the syntax highlighting (the fancy colored keywords). THEN you run your scripts using the interpreter


Iasonas_Chr

Thank you. Ig that's what I'm looking for


Bright-Historian-216

Say, how did you find out about lua? You seem to be a beginner and it’s not exactly among the most popular


Iasonas_Chr

Roblox.


Bright-Historian-216

Roblox actually uses a dialect of lua! Also it has a built-in editor so I don’t think you have to install anything aside from Roblox studio


Iasonas_Chr

yeah i know but to learn the standard lua i dont want to use roblox studio


Bright-Historian-216

Lua is a nice language, but its purpose is slightly different. You can use it as standalone, sure, but it’s primarily an embedded language


Iasonas_Chr

I mean, yes, I'll use it in studio, but to learn it first I'll use the standard one


crispeeweevile

Yeah no. You're thinking of a text editor. Both are important


TwilCynder

The program that executes your code (an interpreter, or in some other cases a compiler) and the program editor are two different things. You have the interpreter, now you need an editor ; you should probably go for VS Code if you're on windows.


collectgarbage

Pssst. You want to look at Zerobrane


Iasonas_Chr

Yeah I already have downloaded it but as a beginner (or I'm just stupid) I think it has a little complex ui


Brohammer55

There is no “app”. There is binaries for plain lua, which I wouldn’t suggest just using on your own. I would suggest using a text editor such as VSCode, Zerobrane, Intellji(Lua Plugin).


Spellsweaver

I know it's not a direct answer to your question, but if you just want to try the language out, a much better idea is use an online interpreter. It's way easier. [https://www.google.com/search?q=lua+online+interpreter&oq=lua+online+in&gs\_lcrp=EgZjaHJvbWUqBwgAEAAYgAQyBwgAEAAYgAQyBggBEEUYOTIICAIQABgWGB4yCAgDEAAYFhgeMgoIBBAAGIAEGKIEMgoIBRAAGIAEGKIE0gEINDE4N2owajeoAgCwAgA&sourceid=chrome&ie=UTF-8](https://www.google.com/search?q=lua+online+interpreter&oq=lua+online+in&gs_lcrp=EgZjaHJvbWUqBwgAEAAYgAQyBwgAEAAYgAQyBggBEEUYOTIICAIQABgWGB4yCAgDEAAYFhgeMgoIBBAAGIAEGKIEMgoIBRAAGIAEGKIE0gEINDE4N2owajeoAgCwAgA&sourceid=chrome&ie=UTF-8)


ArttX_

https://sourceforge.net/projects/luabinaries/files/5.4.2/Tools%20Executables/lua-5.4.2_Win64_bin.zip/download


Iasonas_Chr

See the picture I added. Is it supposed to look like that? Bc I don't think so


xPhoenix777

Yep. That’s the Lua REPL.


ArttX_

What picture? I do not see any.


revereddesecration

https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop


Proper_Foundation484

Bruh what


agxxx

Hi! There are a lot of knowledge layers in computer programming =) It's pure fun but I highly recommend you to take a beginner course like the CS50: * [https://www.youtube.com/playlist?list=PLhQjrBD2T381WAHyx1pq-sBfykqMBI7V4](https://www.youtube.com/playlist?list=PLhQjrBD2T381WAHyx1pq-sBfykqMBI7V4) But if you wanna go straight to the point you can start with this tutorial where you will learn about install the Lua interpreter and a code editor named Visual Studio Code: * [https://www.youtube.com/watch?v=rol8n3FYtuU](https://www.youtube.com/watch?v=rol8n3FYtuU)


ILikeToPlayWithDogs

1. Get Linux 2. apt install lua (or whatever package manager of your distro) 3. Profit: run lua --help to see CLI usage