[Openmcl-devel] Obfuscated Lisp contest anyone? (Seriously)

Adlai C munchking at gmail.com
Sun May 7 01:01:55 PDT 2023


On 4/15/23, Ron Garret <ron at flownet.com> wrote:
>
>> On Apr 15, 2023, at 7:38 AM, Tim McNerney <mc at media.mit.edu> 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.


More information about the Openmcl-devel mailing list