Skip to content

phase/obx

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

obx

Functional prefix programming language for golf or math or anything you want.

Short Explanation

Each line is a function, and the last line is executed with the inputs. Each function takes up to 3 inputs (x, y, and z), and returns the result. Functions are written in prefix notation, like Pyth.

+xy
A1x

With an input of 5, this program would output 6. Let's learn why.

+xy creates a function called A that adds x (the first argument) and y (the second argument). A1x creates a function called B that calls A with 1 and x (the first argument). The last function created is called with whatever the input is.

About

Functional prefix programming language for golf or math or anything you want.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages