Measures Concepts
GitHub icon

Befunge

Befunge - Esoteric programming language

< >

Befunge is an esoteric programming language created in 1993 by Chris Pressey.

#357on PLDB 31Years Old 1Repos

Try now: Riju · TIO

Befunge is a stack-based, reflective, esoteric programming language. It differs from conventional languages in that programs are arranged on a two-dimensional grid. "Arrow" instructions direct the control flow to the left, right, up or down, and loops are constructed by sending the control flow in a cycle. Read more on Wikipedia...


Example from Riju:
64+"!dlrow ,olleH">:#,_@
Example from hello-world:
>"dlroW olleH",,,,,,,,,,,@
v Hello World in Befunge >"dlroW olleH",,,,,,,,,,,@
Example from Wikipedia:
>25*"!dlrow ,olleH":v v:,_@ > ^

Language features

Feature Supported Token Example
Comments ✓
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout