Re: Obfuscated Lisp contest anyone? (Seriously)

Adlai C <[email protected]> Sun, 7 May 2023 11:01:55 +0300
Newsgroups gmane.lisp.openmcl.devel
Message-ID <CANqyM3ok6Fi_01NAqj6Dgsh5dzbkJ1zpi_865OgEyKWTm9=zwg@mail.gmail.com>
On 4/15/23, Ron Garret <[email protected]> wrote:
>
>> On Apr 15, 2023, at 7:38 AM, Tim McNerney <[email protected]> wrote:
>>
>> Hmm… Is it crazy to contemplate launching an obfuscated Lisp contest?
>
> Here is my entry:
>
> ((λ f ((λ g (g g)) (λ (h x) ((f (h h)) x))))
>  [...]

Is part of the competition figuring out the definition of the lambda
syntactic sugar? It's not necessarily the simplest imaginable
definition, due to possible ambiguity in the handling of the list
designator.

I think in general, due to the complexity and diversity of CL, such
competitions could be divided by theme, where one main competition
allows anything, with a separate category for entries specifically
focused on the [ab]use of one specific technique, whether readtables,
local functions, macros from hell, etc. Ideally such competitions
eventually produce good examples for educating future students.