Skip to content

Latest commit

History

158 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

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.

justforfunnoreally.dev badge

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 ║ │
╘═╤═╝ │ ╚═╤═╝ │
│ ┌─┴─╖ ┌─┴─╖ │
│ │ × ╟──┤ ? ╟──┘
│ ╘═╤═╝ ╘═╤═╝
└─────┘ │

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.

About

Funciton (pronounced: /ˈfʌŋkɪtɒn/) is a two-dimensional, declarative, functional, esoteric programming language. This is an interpreter and compiler.

Resources

Stars

42 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors