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

Report Share List favoriters

Comments

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

Detailed syntax guide

@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 ed 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
Ahaha, that’s awesome! I’ve never been able to turn my brain inside-out to the extent that is necessary for writing quines. ^^
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.