Allbracks
Jump to navigation
Jump to search
- This is still a work in progress. It may be changed in the future.
Allbracks is a esolang that uses only (), {} and [].
Commands
() stands for a number. [] is a array. {} is the operator
Operator usage
The language uses church numerals (like () = 0, (()) = 1 and ((())) is 2). We can do (){()} for incrementing () which returns (()) which is 1.
| Number needed | Corresponding operation |
|---|---|
| () | Increment |
| (()) | Decrement |
| ((())) | Add ("(()){((()))}(())" is 1+1) |
| (((()))) | Subtract ("(()){(((())))}(())" is 1-1) |
| ((((())))) | Multiply ("(()){((((()))))}(())" is 1*1) |
| (((((()))))) | Divide ("(()){(((((())))))}(())" is 1/1) |