Befunge

This is the archived website of SI 413 from the Fall 2012 semester. Feel free to browse around; you may also find more recent offerings at my teaching page.

This is a two-dimensional programming language that was invented by Chris Pressey in 1993. Similar to brainfuck, every character in the program represents a single command. But unlike most other languages, the Befunge interpreter doesn't just read in the input as a series of commands and then execute them. Instead, a befunge program is more like a map, and the interpreter navigates this map according to the instructions... in the program itself!

Important: We are using the Befunge 93 standard for this project. Do not use any features that only exist in later revisions like Befunge 98. (Befunge 93 is simpler, so I think this will make your life easier. If you really want to use some Befunge 98, come talk to me about it!)

Useful Links

How I will run your code

The programs you submit should be in a single file called proj.bef, for either part of the project. I will test your code in the same environment as the lab machines in MI 302, using the command

cfunge proj.bef