Befreak
Jump to navigation
Jump to search
Befreak is a purely reversible programming language, by virtue of the fact that every instruction is reversible. This means it is impossible to destroy data in any way. Befreak seems to have been invented by Brent Kerby and Hilton Campbell.
In form, Befreak is two-dimensional and takes after Befunge.
For example, a primality checking program is
v ;?\ ( >; >'%#\>\ >*#=//< >=:=;/v
(enter at top v
, exit at right ;
, input on normal stack, output on control stack)
External resources
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.