Languages Features Creators Calendar CSV Resources Blog About Pricing Add Language
GitHub icon

Befunge

Befunge - Esoteric programming language

< >

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

#346on PLDB 30Years Old 620Users
0Books 0Papers 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
powerbuilder.html · befunge.html · nato-phonetic-alphabet.html

View source

- Build the next great programming language · Search · v2023 · Day 208 · Docs · Acknowledgements · Traffic · Traffic Today · Mirrors · GitHub · feedback@pldb.com