You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/languages/befunge/index.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,12 @@ Welcome to the Befunge page! Here, you'll find a description of the language as
14
14
15
15
## Description
16
16
17
-
No 'Description' section available. [Please consider contributing](https://github.com/TheRenegadeCoder/sample-programs-website).
17
+
Befunge is a programming language with some very unusual standards, as a two-dimensional, self-modifying, stack-based programming language. [Wikipedia][2] has it that it was designed in 1993 by Chris Pressey, merely to be as difficult to compile as possible.
18
+
19
+
All operations in Befunge are limited to a single character, and the source text can be traversed in any direction through the file. The "Instruction Pointer" starts in the upper left corner and proceeds to the right, running every character it crosses. When it reaches an arrow, `< > ^ v`, that pointer will turn and travel in the new indicated direction.
20
+
21
+
Instead of variables, all operations act on one global stack of integers, similar to [Forth][3]. 0-9 will just push their value, `+ - * / %` pop the top two values and push their normal result, `.` prints out the top number, and `,` prints the corresponding character instead.
0 commit comments