Talk:Lua Help: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Dennisvdz
>JulienDethurens
Fixed signature......
 
(13 intermediate revisions by 5 users not shown)
Line 52: Line 52:


''Lua (not "LUA") is a simple '''programming''' language....'' - Lua really is a scripting language, it has nothing to do with programming since Lua does not compile code, but parses it. --[[User:Dennisvdz|Dennisvdz]] 09:13, 26 January 2012 (EST)
''Lua (not "LUA") is a simple '''programming''' language....'' - Lua really is a scripting language, it has nothing to do with programming since Lua does not compile code, but parses it. --[[User:Dennisvdz|Dennisvdz]] 09:13, 26 January 2012 (EST)
:That's '''completely''' wrong. Lua DOES compile code. It compiles code to bytecode and then runs the bytecode. And Lua '''is''' a programming language. In fact, look at the logo on the [http://www.lua.org official Lua website's homepage]. Or look at the title page. They both call Lua a programming language. {{User:JulienDethurens/signature|date=21:52, 26 January 2012 (UTC)}}
:That's '''completely''' wrong. Lua DOES compile code. It compiles code to bytecode and then runs the bytecode. And Lua '''is''' a programming language. In fact, look at the logo on the [http://www.lua.org official Lua website's homepage]. Or look at the title page. They both call Lua a programming language. --[[User:JulienDethurens|JulienDethurens]] 21:52, 26 January 2012 (UTC)
::Lua actually is a scripting language. [http://www.lua.org/about.html] - Do you know the difference between compiling and parsing? Since parsing is pretty much compiling at run-time, which Lua does as far as I know. Feel free to correct me if I'm wrong, but I'd like to see an external source. I have no idea why it's called a programming language in the logo. Seems to be the only location where it's called a ''programming'' language. --[[User:Dennisvdz|Dennisvdz]] 17:04, 26 January 2012 (EST)
::Lua actually is a scripting language. [http://www.lua.org/about.html] - Do you know the difference between compiling and parsing? Since parsing is pretty much compiling at run-time, which Lua does as far as I know. Feel free to correct me if I'm wrong, but I'd like to see an external source. I have no idea why it's called a programming language in the logo. Seems to be the only location where it's called a ''programming'' language. --[[User:Dennisvdz|Dennisvdz]] 17:04, 26 January 2012 (EST)
:::It is also called a programming language in the title. And what about the name of the book 'Programming in Lua', by Lua's chief architect?
:::I believe the creators of Lua know better than you whether it is a programming language or not. And is '''is''' a compiled language. Also, if you want more sources that say it's a programming language, the Official Lua Reference Manual says so in the introduction. --[[User:JulienDethurens|JulienDethurens]] 22:19, 26 January 2012 (UTC)
::::So why is it called a scripting language elsewhere? They are not exactly the same. And Lua itself (the libraries) ARE compiled, yes. I've researched some more and found this [http://www.lua.org/pil/8.html]. It seems to parse/compile/whatever the whole script first, then executes it. I guess it's all mixed up a bit, even though I call it a scripting language. --[[User:Dennisvdz|Dennisvdz]] 09:30, 27 January 2012 (EST)
:::::>they are not exactly the same.
:::::[http://en.wikipedia.org/wiki/Scripting_language "A scripting language, script language, or extension language is a programming language that allows control of one or more applications."]
:::::--[[User:Sncplay42|SNCPlay42]] 13:33, 27 January 2012 (EST)
::::::Good one, thanks for correcting me. Really thought they were totally different. --[[User:Dennisvdz|Dennisvdz]] 15:48, 27 January 2012 (EST)
== String Patterns ==
Should [[String Patterns|it]] be included in one of the sections? I can't add it myself so an editor needs to do it. <span style="font-size: 75%; line-height: inherit;">[[User:Legend26|Legend26]] ([[User talk:Legend26|talk]] | [[Special:Contributions/Legend26|contribs]])</span> 12:31, 28 January 2012 (EST)
== Could we add another reference? ==
I like the alternate reference style at Luai. [http://pgl.yoyo.org/luai/i/_] <br />
Popinman322 -- 21:58, 12 February 2012 (EST)

Latest revision as of 12:16, 25 March 2012

I would like to somehow merge the body of scripting knowledge into one place - it seems wierd to me to have a code snippet section here and a list of scripting tutorials on the tutorials page. Maybe move the scripting tutorials section here? --Telamon 15:12, 15 February 2007 (CST)

Maybe scripting tutorials should replace the Full Codes page? I don't think many of our users at at the stage where they can grok how a script works just by looking at the code, so any "Full code" article will essentially be a tutorial. --Telamon 15:13, 15 February 2007 (CST)

That might be an idea, and leave Full Codes for the Player Created section. ---Mr Doom Bringer 20:50, 29 April 2007 (CDT)

Can I make a section, for starting off with scripting? What is there now is good, but few people know enough about scripting to even know what half of that means. I want to make it, 101 style, starting with Insert->Object->Script. Ill do it the way I learned it, Just teaching enough to script simple onTouch scripts, mabey even edit tools and onChatted scripts. If you think i shouldnt do this let me know, im kinda new to html and learning as i go along, mabey it is to soon to try to make a whole page/section. Well... thats it for now.


PCwiener 10:37, 13 July 2007 (CDT)

Go for it. I'll check over it when you are done. Even better, make a new page for "Basic Scripting"

---Mr Doom Bringer 15:21, 13 July 2007 (CDT)

Unfortunatly, i dont know what you mean by Page xD. mabey you could set it up for me if you have time, thanks for welcoming me :).

---PCwiener 20:42, 13 July 2007 (CDT)

Go ahead and go to the Basic Scripting page, make it whatever you want. You're probably better at tutorials than I am.

Oh, and if you want to make a new page, just type the name into the search bar and hit go. Near the top, it will say "or you can create this page". Just click that.

---Mr Doom Bringer 11:44, 14 July 2007 (CDT)


Thanks! I just saved it, hope it isnt to bad

---PCwiener 16:43, 14 July 2007 (CDT)

I just cleaned up all your typos and made it look better. Remember this is documentation, so it should be serious. Just look at Wikipedia, they don't go "yay!" or "done!" or stuff like that. We should try to be like that too. I cleaned up your stuff and removed glaring informalities, but there's still some left that I think is acceptable.

---Clockwork 22:44, 14 July 2007 (CDT)

thanks, hope i didnt take to much of your time. :D

---PCwiener 14:02, 15 July 2007 (CDT)

Merge this page with the Scripting Tutorials section of Tutorials?

They both cover the same things. --Sncplay42 12:30, 4 September 2010 (UTC)

Agreed. Plus, this looks ugly
21:18, 24 May 2011 (UTC)
We have several people who say that this should be moved to tutorials, or tutorials moved to here. Let's MOVE IT. :D - Quenty (talk • August 4)
I already did it several weeks ago. :P --SNCPlay42 18:06, 4 August 2011 (UTC)

Now transcluded into Tutorials

Might it be worth moving this page to Tutorials/Scripting, and adding a redirect, so that it's clear what it's for?

15:05, 16 July 2011 (UTC)

Lua is no programming language..

Lua (not "LUA") is a simple programming language.... - Lua really is a scripting language, it has nothing to do with programming since Lua does not compile code, but parses it. --Dennisvdz 09:13, 26 January 2012 (EST)

That's completely wrong. Lua DOES compile code. It compiles code to bytecode and then runs the bytecode. And Lua is a programming language. In fact, look at the logo on the official Lua website's homepage. Or look at the title page. They both call Lua a programming language. --JulienDethurens 21:52, 26 January 2012 (UTC)
Lua actually is a scripting language. [1] - Do you know the difference between compiling and parsing? Since parsing is pretty much compiling at run-time, which Lua does as far as I know. Feel free to correct me if I'm wrong, but I'd like to see an external source. I have no idea why it's called a programming language in the logo. Seems to be the only location where it's called a programming language. --Dennisvdz 17:04, 26 January 2012 (EST)
It is also called a programming language in the title. And what about the name of the book 'Programming in Lua', by Lua's chief architect?
I believe the creators of Lua know better than you whether it is a programming language or not. And is is a compiled language. Also, if you want more sources that say it's a programming language, the Official Lua Reference Manual says so in the introduction. --JulienDethurens 22:19, 26 January 2012 (UTC)
So why is it called a scripting language elsewhere? They are not exactly the same. And Lua itself (the libraries) ARE compiled, yes. I've researched some more and found this [2]. It seems to parse/compile/whatever the whole script first, then executes it. I guess it's all mixed up a bit, even though I call it a scripting language. --Dennisvdz 09:30, 27 January 2012 (EST)
>they are not exactly the same.
"A scripting language, script language, or extension language is a programming language that allows control of one or more applications."
--SNCPlay42 13:33, 27 January 2012 (EST)
Good one, thanks for correcting me. Really thought they were totally different. --Dennisvdz 15:48, 27 January 2012 (EST)

String Patterns

Should it be included in one of the sections? I can't add it myself so an editor needs to do it. Legend26 (talk | contribs) 12:31, 28 January 2012 (EST)

Could we add another reference?

I like the alternate reference style at Luai. [3]
Popinman322 -- 21:58, 12 February 2012 (EST)