Skip to content
/ Funciton Public

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

Notifications You must be signed in to change notification settings

Timwi/Funciton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published