This is the archived website of SI 413 from the Fall 2013 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!)
56+9*>:1 > v v"bottles of beer"0< < 0 : . : # |:\< , , v"no more "0< , | >:#,_$$ ^ |:,+55,"."_" ,"^ $ @ >:#,_$1-^ : ^" on the wall"0_".",55+, v v"Take one down, pass it around, "< >:#,_$ 1- :2 ^
The programs you submit should be in a single file
proj.bef, for either part of the project.
I will test your code in the same environment as the lab
machines in MI 316, using the command