Aviva Directory » Computers & Internet » Programming » Befunge

Befunge a stack-based esoteric programming language. Designed by Chris Pressey for the Amiga in 1993, the goal for the language was to create a language that was difficult to compile.

An esoteric programming language is one that is designed to test the boundaries of language design, as a proof of concept, or as a joke. Some of these languages serve as hacking interfaces to other languages or serve other actual purposes. Usability is not generally a goal for esoteric programming languages.

Unlike most other languages, Befunge programs are arranged on a two-dimensional grid. The executing program has an instruction pointer that moves in cardinal directions as instructions are being processed. As the instruction pointer moves along, it pushes values to or from the stack or takes an action on the values at the top of the stack.

Since it was first released, a number of compilers have been written for it, and extensions to the original Befunge-93, the most notable being Funge-98. Extensions or variants of the Befunge language are known as Fungeoids or Funges.

By itself, it's probably not very useful but, to programmers, being exposed to a different way of thinking about programming may be valuable.

Topics related to Befunge or any of its variants, extensions, or compilers are the focus of topics in this category.



Recommended Resources

Search for Befunge on Google or Bing