README.md
January 23, 2025 · View on GitHub
Funciton (pronounced: /ˈfʌŋkɪtɒn/) is a two-dimensional, declarative, functional, esoteric programming language. Its syntax consists of Unicode box-drawing characters which combine to form boxes and lines. With the arbitrary-size integer as its only datatype, Funciton is Turing-complete (capable of all the same computations as any other programming paradigm) despite providing only 6 built-in syntax elements.
To get an idea of what the language looks like, here is the factorial function. However, note that each box used here is a call to another function that is itself written in Funciton.
$ ╓───╖ ║ ! ║ ╙─┬─╜ ┌───╖ ╔═══╗ ┌─────┴─────┤ > ╟──╢ 2 ║ ╔════╗ ┌───╖ │ ╘═╤═╝ ╚═══╝ ║ −1 ╟──┤ + ╟─┴─┐ │ ╚════╝ ╘═╤═╝ │ │ ┌─┴─╖ │ ╔═══╗ │ │ ! ║ │ ║ 1 ║ │ ╘═╤═╝ │ ╚═╤═╝ │ │ ┌─┴─╖ ┌─┴─╖ │ │ │ \times ╟──┤ ? ╟──┘ │ ╘═╤═╝ ╘═╤═╝ └─────┘ │ $
If you prefer to learn visually: Learn Funciton video playlist (YouTube)
If you prefer to read: Funciton on the esolangs wiki
The source code for this project has moved to Codeberg.