Not logged in, Join Here! or Log In Below:  
News Articles Search    

Submitted by .K. Magnus Auvinen, posted on March 31, 2005

Image Description, by .K. Magnus Auvinen

Well, it all started in a thread where a person wanted some help with a programming problem. It ended in people solving the problem in many different languages including my very own BrainF*** version. Then the second thread came that challenged coders to do a Latin numbers to roman numbers converter using the least amount of code, craziest solution, clearest solution etc. I was still crazy-minded and thought I'd give Befunge a try. Befunge is a 2D, stack-based esoteric programming language. I really liked Befunge and took it a step further. I had a hard time finding a good interpreter and even harder to find some way to debug it. It ended with me spending a weekend writing this little application called Fungus that people really enjoyed.

Fungus is a Befunge-93 editor and debugger. I used SDL for the graphics and everything else is C++ without STL.

The top image shows Fungus in edit mode where you can change the code. Fungus also draws the flow of the application so you can see when you break the flow. The flow tracker can't handle self-modifying code however.

The lower image shows Fungus in debug mode. You have the usual debugging stuff like run, step, breakpoints, program view and stack view. One twist is the memory tracker feature. It paints the background red if the cell has been written to, green if read from and blue if it has been executed.

Why did I write this? Because it was fun and don't give me any of that waste of time crap. :)

Visit to some more info and download..
Visit for more information on Befunge.

.K. Magnus Auvinen aka matricks

Image of the Day Gallery


Message Center / Reader Comments: ( To Participate in the Discussion, Join the Community )
Archive Notice: This thread is old and no longer active. It is here for reference purposes. This thread was created on an older version of the flipcode forums, before the site closed in 2005. Please keep that in mind as you view this thread, as many of the topics and opinions may be outdated.

April 04, 2005, 12:10 AM

How curious, this post has grown to 30 comments, (31 with mine) and you dont get that many even with the best screenshot ever (or something).

Most of the comments are "waste of time" comments.

Anyway, good job.
Why are the older languages are even being brought up though?

Nostalgeic reasons?


Sigurdur F

April 04, 2005, 09:22 AM

So, anyone up for making c2befunge? :)

And I really wonder if it is even possible, e.g. translating functions flow and such?

Sebastian Wagner

April 04, 2005, 02:26 PM

Impressive work man!

Regarding all wise-cracks here, just remember, opinions are like assholes ... everybody has one.


April 05, 2005, 09:09 AM

And most of them stink.

Tobias Franke

April 05, 2005, 10:31 AM

Where is MC_Baxton when you need him?!

Francois Richard

April 05, 2005, 11:14 AM

When did this become IOTM(onth) ???
next please !!!

Nice work by the way ;o)


April 05, 2005, 06:41 PM

The IOTD hasn't been changing too much, so I submitted one. It isn't very impressive compared to some of the one's I've seen here, but I hope that it will break the monotony somewhat at least.

This thread contains 37 messages.
First Previous ( To view more messages, select a page: 0 1 ... out of 1) Next Last
Hosting by Solid Eight Studios, maker of PhotoTangler Collage Maker.