[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [FUN] Codegolf: Lua 5.3-only program
- From: bel <bel2125@...>
- Date: Sun, 13 Dec 2020 18:10:44 +0100
= 27 characters
The task: write a Lua program which runs only on Lua 5.3.
It should not run under other Lua versions (5.1, 5.2, 5.4, LuaJIT):
either a compile-time or a run-time error should occur.
For example, the following program is Lua 5.3-only and its length is 41 bytes:if _VERSION~="Lua 5.3" then error("") end
This is a codegolf: the shortest Lua 5.3-only program wins.