Interested in advertising on Derpibooru? Click here for information!
Techy Cutie Pony Collection!

Help fund the $15 daily operational cost of Derpibooru - support us financially!

Description

And this is part of the reason my personal tag is “Funge-98 is Magic.”
 
This is a quine of Pear Butter and Bright Mac, written in Funge-98. More specifically, Befunge-98 (2 dimensions). A quine, if you don’t know, is a program that outputs its own source code. Quines are super easy in Funge. Partially because two of the commands, g and p, get and place characters in the source code, respectively. Makes it really easy to “read” the source code without actually making the program open itself as an external file (which is kind of cheating when making a quine).
 
I already had made a Rarity quine in Funge, but I haven’t posted it yet. I wanted to finish this one and post it before anything else. This episode was the closest I came to crying over something on a television show, ever. Granted, I tend to be the Applejack-ish “cry on the inside” type. And boy, did I do that.
 
Besides, the Rarity one doesn’t come close to the level of quality I put in this one. :P

safe2285438 artist:phat_guy181 derpibooru exclusive44100 bright mac1834 pear butter4111 g42141998 my little pony: friendship is magic268790 season 72824 the perfect pear1622 ascii84 bedroom eyes88287 befunge1 befunge-981 command prompt10 couple8521 duo211064 female1928226 funge1 funge-981 hat135479 lidded eyes54382 looking at each other39079 male592984 mare818649 microsoft windows961 programming143 ship:brightbutter997 shipping269680 smiling438219 stallion215378 straight191931 string433 terminal163 text98137 windows 897

Comments

Syntax quick reference: **bold** *italic* ||hide text|| `code` __underline__ ~~strike~~ ^sup^ ~sub~

Detailed syntax guide

hawthornbunny
Non-Fungible Trixie -
Friendship, Art, and Magic (2018) - Celebrated Derpibooru's six year anniversary with friends.
Bronze Bit -
Ruby -
Not a Llama - Happy April Fools Day!
Friendship, Art, and Magic (2017) - Celebrated Derpibooru's five year anniversary with friends.
Happy Derpy! -
Bronze Supporter -

@phat_guy  
Nice! Rainbows make everything more comprehensible. ^^
 
I always wanted to make a sort of Funge-like evolutionary simulation where the organisms would be physically composed of their own code, but I never got around to figuring out the details :)
phat_guy
Twinkling Balloon - Took part in the 2021 community collab.
My Little Pony - 1992 Edition
The Magic of Friendship Grows - For helping others attend the 2020 Community Collab
Friendship, Art, and Magic (2020) - Took part in the 2020 Community Collab
Toola Roola - For helping others attend the 2019 Community Collab
Wallet After Summer Sale -
Friendship, Art, and Magic (2019) - Celebrated Derpibooru's seventh year anniversary with friends
A Tale For The Ages - Celebrated MLP's 35th Anniversary and FiM's 8th Anniversary
Best Artist - Providing quality, Derpibooru-exclusive artwork
An Artist Who Rocks - 100+ images under their artist tag

Funge-98 is Magic
I was reminded of this the other day, when I remembered that there was a minor problem with it: the two characters that I used as “variables” weren’t set back to spaces after the program finished, so when it was run again, it didn’t truly print the source code.
 
So I fixed that real quick, and made a neat little explanation on how it works as well!
 
full
 
seriously try funge-98 its so different, its fun aaaaa
phat_guy
Twinkling Balloon - Took part in the 2021 community collab.
My Little Pony - 1992 Edition
The Magic of Friendship Grows - For helping others attend the 2020 Community Collab
Friendship, Art, and Magic (2020) - Took part in the 2020 Community Collab
Toola Roola - For helping others attend the 2019 Community Collab
Wallet After Summer Sale -
Friendship, Art, and Magic (2019) - Celebrated Derpibooru's seventh year anniversary with friends
A Tale For The Ages - Celebrated MLP's 35th Anniversary and FiM's 8th Anniversary
Best Artist - Providing quality, Derpibooru-exclusive artwork
An Artist Who Rocks - 100+ images under their artist tag

Funge-98 is Magic
Oh, and if you want to try this out for yourself, find a Funge-98 compliant interpreter (I really like BefungeSharp, a nice, easy to use Befunge-98 IDE for Windows), copy this into the editor/file, then run the program.
 
Hell, I encourage you to at least try Funge-98. It’s a silly, damn near useless language that is tons of fun to write random crap in.