Discuss Scratch

ToastersUnited
Scratcher
1000+ posts

The Lua Topic

function greet()
  local text = "Welcome to the lua topic! Discuss the language here."
  print(text)
end
greet()
Autofirejm
Scratcher
1000+ posts

The Lua Topic

ToastersUnited wrote:

(#1)
function greet()
  local text = "Welcome to the lua topic! Discuss the language here."
  print(text)
end
greet()
wouldn't this go in AT or TIMAC?

Last edited by Autofirejm (Feb. 14, 2022 17:04:36)

ToastersUnited
Scratcher
1000+ posts

The Lua Topic

Autofirejm wrote:

ToastersUnited wrote:

(#1)
function greet()
  local text = "Welcome to the lua topic! Discuss the language here."
  print(text)
end
greet()
wouldn't this go in AT or TIMAC?
Probably yeah…
Autofirejm
Scratcher
1000+ posts

The Lua Topic

ToastersUnited wrote:

(#3)

Autofirejm wrote:

ToastersUnited wrote:

(#1)
function greet()
  local text = "Welcome to the lua topic! Discuss the language here."
  print(text)
end
greet()
wouldn't this go in AT or TIMAC?
Probably yeah…
move it? *by reporting to be moved?

Last edited by Autofirejm (Feb. 14, 2022 17:06:21)

ToastersUnited
Scratcher
1000+ posts

The Lua Topic

Autofirejm wrote:

ToastersUnited wrote:

(#3)

Autofirejm wrote:

ToastersUnited wrote:

(#1)
function greet()
  local text = "Welcome to the lua topic! Discuss the language here."
  print(text)
end
greet()
wouldn't this go in AT or TIMAC?
Probably yeah…
move it? *by reporting to be moved?
Ok i did
Autofirejm
Scratcher
1000+ posts

The Lua Topic

ToastersUnited wrote:

(#5)

Autofirejm wrote:

ToastersUnited wrote:

(#3)

Autofirejm wrote:

ToastersUnited wrote:

(#1)
function greet()
  local text = "Welcome to the lua topic! Discuss the language here."
  print(text)
end
greet()
wouldn't this go in AT or TIMAC?
Probably yeah…
move it? *by reporting to be moved?
Ok i did
it's going to AT
-EmeraldThunder-
Scratcher
1000+ posts

The Lua Topic

I love Lua, it's a good programming language with a nice syntax, I wish it was more widely used.
Autofirejm
Scratcher
1000+ posts

The Lua Topic

not sure i know lua, but it sounds like a cool programming language :D
Sorry, you have to wait 60 seconds between posts.
ToastersUnited
Scratcher
1000+ posts

The Lua Topic

Autofirejm wrote:

(#8)
not sure i know lua, but it sounds like a cool programming language :D
Sorry, you have to wait 60 seconds between posts.

-EmeraldThunder- wrote:

(#7)
I love Lua, it's a good programming language with a nice syntax, I wish it was more widely used.
it's one of the fastest scripting languages in the world
(its also open source, yay)
Maximouse
Scratcher
1000+ posts

The Lua Topic

-EmeraldThunder- wrote:

I love Lua, it's a good programming language with a nice syntax, I wish it was more widely used.
It has one-based indexes. That isn't nice when you have to do any kind of math with them.
pkhead
Scratcher
1000+ posts

The Lua Topic

i also like lua except for when the tables are 1-based. i made a website that runs lua code on the client. it also has a text editor i made that i spent most of my time on and is very buggy.

are replit links allowed here?

Last edited by pkhead (Feb. 16, 2022 00:36:45)

-ElectronicArts-
Scratcher
1000+ posts

The Lua Topic

pkhead wrote:

i also like lua except for when the tables are 1-based. i made a website that runs lua code on the client. it also has a text editor i made that i spent most of my time on and is very buggy.

are replit links allowed here?
yeh
pkhead
Scratcher
1000+ posts

The Lua Topic

here's my online lua interpreter if anyone's interested
https://lua-interpreter.phazrlazr.repl.co/

also the text editor selection thingy is kinda buggy. i should just use something like codemirror but i wanted to make a text editor as a learning experience.
-EmeraldThunder-
Scratcher
1000+ posts

The Lua Topic

Maximouse wrote:

(#10)

-EmeraldThunder- wrote:

I love Lua, it's a good programming language with a nice syntax, I wish it was more widely used.
It has one-based indexes. That isn't nice when you have to do any kind of math with them.
If it's open source you could potentially make a fork with zero indexing, I agree this is an essential feature for any programming language to have

Last edited by -EmeraldThunder- (Feb. 16, 2022 07:40:05)

ToastersUnited
Scratcher
1000+ posts

The Lua Topic

-EmeraldThunder- wrote:

Maximouse wrote:

(#10)

-EmeraldThunder- wrote:

I love Lua, it's a good programming language with a nice syntax, I wish it was more widely used.
It has one-based indexes. That isn't nice when you have to do any kind of math with them.
If it's open source you could potentially make a fork with zero indexing, I agree this is an essential feature for any programming language to have
You just need to know C
ToastersUnited
Scratcher
1000+ posts

The Lua Topic

I wonder how making a parser and lexer in lua would work, its very fast.

Im gonna write one

Last edited by ToastersUnited (Feb. 16, 2022 08:19:45)

ToastersUnited
Scratcher
1000+ posts

The Lua Topic

Bump

Löve2d jam 2022 theme was jyst announced: earthquake
Löve2d is a really cool lua framework for making games

Powered by DjangoBB