Parentheses
Jump to navigation
Jump to search
- The title of this article is not correct because of technical limitations. The correct title is actually ().
() is an esolang that is impossible to interpret
| syntax | function |
|---|---|
| ((x) | increment the variable inside |
| (x)) | decrement the variable inside |
| ((x)(y)z) | if x=y do Z |
| ((x)) | declares new variable x |
| (x(y)) | sets x to y |
| () | halts the program when ran |
| ((x | input ascii into x as binary { ( is 1 ) is 0} |
| x)) | output x as ascii |
| (((x))) | repeats x infinitely |
now let's create an example program
((x)) (x(())) ((x)(x)x)
this program will halt.
Programs
good luck reading this
Truth machine
((x)) ((x ((x)(1)1)) ()) ((x)(0)(((0)))))))