
Like many of us, [Austin] finds writing code satisfying — especially if it is challenging. His latest challenge: shoehorn something that looks like Python into 512 bytes. Ok, that didn’t work out, but would you believe 1024 bytes of source code.
The goal was to properly execute a fizzbuzz program using a decidedly Python-like syntax. Since he is only interpreting Python, some things were simplified. He tried hard to minimize things like whitespace and variable names.
Still, there were other things to do, and he borrowed from tips for code golfing. The resulting code is essentially illegible, but it handles integer variables and literals, assignment, arithmetic, many control structures, functions, and even print.
Discover more from ChuckysCarnage
Subscribe to get the latest posts sent to your email.
