Author Topic: Code that plays with itself  (Read 24 times)

0 Members and 1 Guest are viewing this topic.

Offline slinks

  • A little bit strange
  • DBF Aficionado
  • ******
  • Posts: 3964
  • Karma: 43
    • View Profile
Code that plays with itself
« on: Yesterday at 04:16 PM »
Just had my mind blown by this https://github.com/uellenberg/Insert. It's a programming language that allows for self-modifying code, and the main example is of a game of pong that is displayed as the code itself! I'm getting a headache just trying to understand the concept
I love semi-colons way too much ^^;
Challenge Trophies Won:

Offline Kirl

  • Senior Member
  • Pentium
  • ********
  • Posts: 1219
  • Karma: 230
    • View Profile
    • Homepage
Re: Code that plays with itself
« Reply #1 on: Yesterday at 10:02 PM »
Dude, that is 2 cool, thanks for sharing!  :cheers:

Reminds me a bit me of that oroborus code thing, which coded itself into another language and another going through many languages only to end up in it’s original state. The code was shaped as an oroborus as well. This takes that conept to a whole other level!
www.kirl.nl
Challenge Trophies Won: