This reminds me of a homework assignment in one of my freshman year classes which was to implement various church encodings and helper functions in the lambda calculus using only LaTeX macros!
I suspect this is just the code equivalent of performance art (with the emphasis on art). People do a lot of funny things just because they can, and, since source is embedded in the paper, I’m guessing this wasn’t just an April Fools prank.