Making a Python interpreter in 1024 bytes

7 points by azhenley


addison

There exists an ancient, forgotten website called Stack Overflow where the code magicians of yesteryear shared their knowledge. I learned a lot of ideas from Tips for golfing in C.

Oh man, this took me back. I spent almost every day between 10-12th grade in high school on Code Golf Stack Exchange. This is how I learned to program and to question base assumptions about programming languages. I'm happy to see that, despite the site's decline, it still has its uses.

For anyone who might recognise me, I used to go by VTCAKAVSMoACE -- VTC for short -- and briefly FlagAsSpam. Cheers for the memories.

gunduzc

To feel human, I write code by hand on the weekends.

Relatable and depressing, a sad story in one sentence.

mdaniel

Making a Python interpreter in 1024 bytes

Oh come on, tone down the click bait. You could have said "I code golfed a code interpreter in 1024 bytes" and it probably still would have gotten clicks from the audience you're after without just outright lying to people

I haven't been here long enough to know if this qualifies for the spam flag, but I want to

alper

The process was quite tedious

Now it is your turn

Yeah nah.

Jackevansevo

Since nothing is compiled, loops work by jumping backwards and reparsing the source each iteration

Genius