Top 1,000 Features Creators Resources Blog Explore Download
GitHub icon

Befunge

< >

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

#409on 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 · About · Acknowledgements · Extensions · Day 624 · feedback@pldb.io