Page 3 of 4
Re: Cthulhu Project : Let's Make Unmaintainable Code
Posted: Fri Jan 17, 2014 8:26 pm
by Ranguna259
*Ranguna uses
Balm of Life (search Balm of Life in the link)*
This is a really good idea, but it.. died ?
Who wants to create the organization ? (we'll be using github since teams can have unlimited number of members at the price of 0 Gold) If no one offers then I'll create one, be worned thought, I still know very few about github so I might make some mistakes
BTW Lua introduced goto statements in Lua 5.2 but does LÖVE have that version ?
Re: Cthulhu Project : Let's Make Unmaintainable Code
Posted: Fri Jan 17, 2014 8:36 pm
by veethree
Ranguna259 wrote:BTW Lua introduced goto statements in Lua 5.2 but does LÖVE have that version ?
I know 0.8.0 uses 5.1, and as far as i can tell the 0.9.0 changelog has no mention of lua 5.2. So no.
Re: Cthulhu Project : Let's Make Unmaintainable Code
Posted: Fri Jan 17, 2014 8:39 pm
by slime
viewtopic.php?f=3&t=76646 says: "
LuaJIT is now being used by LÖVE by default. "
LuaJIT does have a
few features from Lua 5.2 enabled by default, but in general it was built on top of Lua 5.1's API.
Re: Cthulhu Project : Let's Make Unmaintainable Code
Posted: Fri Jan 17, 2014 8:50 pm
by Ranguna259
Yep goto is in the list.
- goto is a keyword and not a valid variable name anymore.
Tested it and it worked on 0.9.0, yey
Before anyone creates a team on github we should know who is going to participate (right from the start), because I don't want to see a project like this with 0 members
If anyone participate I'll participate too.
Re: Cthulhu Project : Let's Make Unmaintainable Code
Posted: Fri Jan 17, 2014 8:53 pm
by slime
In regular LuaJIT 2.0 (which LÖVE uses by default in 0.9.0), goto works but it can also be used as a variable name, so as to not break existing Lua 5.1 code.
If you build LuaJIT 2.0 with a special flag enabled (which the versions of LuaJIT distributed by LÖVE don't have), then goto cannot be used as a variable name anymore, which makes it more compatible with Lua 5.2. That's the line you quoted.
Re: Cthulhu Project : Let's Make Unmaintainable Code
Posted: Fri Jan 17, 2014 8:57 pm
by Ranguna259
Then we should add another rule, "goto" should not be used to name variables.
[]
Posted: Fri Jan 17, 2014 9:23 pm
by bekey
-snip-
Re: Cthulhu Project : Let's Make Unmaintainable Code
Posted: Fri Jan 17, 2014 10:15 pm
by Nixola
bekey wrote:Why is it so important to have goto anyway? Count me in tho.
This is the Unmantainable Code project, that's why
Re: Cthulhu Project : Let's Make Unmaintainable Code
Posted: Sat Jan 18, 2014 11:25 am
by Doctory
Enough jibber jabber, lets get loving!
Code: Select all
function love.load()
end
function love.draw()
end
function love.update()
end
Re: Cthulhu Project : Let's Make Unmaintainable Code
Posted: Sat Jan 18, 2014 11:53 am
by Ranguna259
Not just yet
, people've said that we won't have a fixed theme but we could have a starter theme just to start up the code, using the basic LÖVE structure would be kind of vague, don't you think ? We'll need something more constructive, something that works like a mini game, a simple really small minigame, what do you guys think ?