git @ Cat's Eye Technologies Befunge-93 / b4bc630
Fix some typos, h/t @j4james Chris Pressey 6 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
1818 Most likely the most unique element of Befunge-93 programming is the
1919 Program Counter (PC.) In almost all computer programming languages, the
2020 program counter is continually moving forward through the program,
21 occassionally jumping to another spot in the code (but continuing
21 occasionally jumping to another spot in the code (but continuing
2222 forward thereafter, nonetheless.)
2323
2424 The PC in Befunge-93, however, is subject to different rules. It may go
7474 the upper-left of the torus and is initially oriented to execute
7575 rightward.
7676
77 NB. If the stack is be empty when you pop something off, be warned that
77 NB. If the stack is empty when you pop something off, be warned that
7878 this will *not* generate an underflow! It will simply push a 0 value
7979 onto the stack. Hope you can live with it!
8080
211211
212212 The last two commands that need to be explained are the ones that allow
213213 you to examine and change the contents of the torus where the program is
214 stored. This 'playfield' can be used for auxilliary storage when the
214 stored. This 'playfield' can be used for auxiliary storage when the
215215 stack alone will not suffice, but keep in mind that it also contains the
216216 running program.
217217