lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: [FUN] A bit of code golfing
From
: Egor Skriptunoff <egor.skriptunoff@
...
>
Date
: Thu, 29 Sep 2016 01:06:25 +0300
On Thu, Sep 29, 2016 at 12:28 AM, Soni L.
<
fakedme@gmail.com
>
wrote:
NVL=load"return...==''and({...
})[2]or..."
Bravo!
Lets note that my solutions are Lua 5.1 compatible, and using "load" instead of "function" can reduce their size.
As for now, two tasks to solve:
1) Find 41-byte solution compatible with Lua 5.1, 5.2 and 5.3
2) Find 36-byte solution for latest version of Lua
Follow-Ups
:
Re: [FUN] A bit of code golfing
,
Soni L.
References
:
[FUN] A bit of code golfing
,
Egor Skriptunoff
Re: [FUN] A bit of code golfing
,
Soni L.
Prev by Date:
Re: [FUN] A bit of code golfing
Next by Date:
Re: [FUN] A bit of code golfing
Previous by thread:
Re: [FUN] A bit of code golfing
Next by thread:
Re: [FUN] A bit of code golfing
Index(es):
Date
Thread