General discussion about LÖVE, Lua, game development, puns, and unicorns.
leiradel
Party member
Posts: 184 Joined: Thu Mar 11, 2010 3:40 am
Location: Lisbon, Portugal
Post
by leiradel » Sun Oct 10, 2010 5:21 pm
I've just come across
this in the Lua mailing list. It's an utility that changes Lua source code. It transform source code in any combination of:
Minimize: removes white spaces and comments
Uglify:change Lua keywords and strings to single bytes
Compress:run gzip on the file and add Lua code to decompress the file on-the-fly
It even has an option to preserve debug information so that stack traces preserve file names and line numbers!
It looks as a very nice solution to the problem of distributing source code in .love files.
Cheers,
Andre
zac352
Party member
Posts: 496 Joined: Sat Aug 28, 2010 8:13 pm
Location: In your head.
Contact:
Post
by zac352 » Sun Oct 10, 2010 5:26 pm
Cool. :U
Hello, I am not dead.
Robin
The Omniscient
Posts: 6506 Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:
Post
by Robin » Sun Oct 10, 2010 6:06 pm
Is there a desquish or should I write one?
leiradel
Party member
Posts: 184 Joined: Thu Mar 11, 2010 3:40 am
Location: Lisbon, Portugal
Post
by leiradel » Sun Oct 10, 2010 6:29 pm
Robin wrote: Is there a desquish or should I write one?
Hehe. There's already one. It's embedded in the resulting file so that it restores the original file but it needs some work to save the restored file so you can actually look at the source code.
Lap
Party member
Posts: 256 Joined: Fri Apr 30, 2010 3:46 pm
Post
by Lap » Mon Oct 11, 2010 4:40 am
A big lol to all attempts to make Lua close sourced.
nevon
Commander of the Circuloids
Posts: 938 Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:
Post
by nevon » Mon Oct 11, 2010 8:30 am
Lap wrote: A big lol to all attempts to make Lua close sourced.
Making a lua script closed source is easy. I just did it last night, actually.
Robin
The Omniscient
Posts: 6506 Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:
Post
by Robin » Mon Oct 11, 2010 8:38 am
Lap wrote: A big lol to all attempts to make Lua hidden sourced.
FIFY.
leiradel
Party member
Posts: 184 Joined: Thu Mar 11, 2010 3:40 am
Location: Lisbon, Portugal
Post
by leiradel » Mon Oct 11, 2010 5:31 pm
Lap wrote: A big lol to all attempts to make Lua close sourced.
Nothing can be 100% hidden, but as for me, I'll employ any tools that will help me protect my source code.
Perhaps I'm part of a very small group of people here that does not look to LÖVE as a toy engine?
nevon
Commander of the Circuloids
Posts: 938 Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:
Post
by nevon » Mon Oct 11, 2010 5:40 pm
leiradel wrote: Lap wrote: A big lol to all attempts to make Lua close sourced.
Nothing can be 100% hidden, but as for me, I'll employ any tools that will help me protect my source code.
Perhaps I'm part of a very small group of people here that does not look to LÖVE as a toy engine?
I'm quite sure most of us look at it as a game development framework.
vrld
Party member
Posts: 917 Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:
Post
by vrld » Mon Oct 11, 2010 5:40 pm
leiradel wrote: Perhaps I'm part of a very small group of people here that does not look to LÖVE as a toy engine?
Or maybe you are just part of the group that for whatever reasons don't want to create free software. That's fine.
I am part of the group that thinks that trying to "protect" (hide would be the better word) your source code is not worth the effort.
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.
hump |
HC |
SUIT |
moonshine
Users browsing this forum: Amazon [Bot] , Bing [Bot] and 11 guests