logig
Jump to navigation
Jump to search
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
logig is a esolang made by Yayimhere when he realized that +
and -
can be used as 1
and 0
in logic gates. the name comes from a misspelling of logic when searching
memory
memory is stored in a 2 line tape that extends infinitely to the left and right. the first line is filled with 0's
with a single 1
in the middle. the other tape holds +
and -
. these plusses and minuses can be modified with you guessed itlogic gates(or "logig gates" as the gates in logig are called)
syntax
the syntax of logig. it only has one of logig gates. all logig gates mentioned are on the second layer:
Header text | Header text |
---|---|
} |
move right on the tape |
{ |
move to the left on the tape |
& |
do a NAND on current cell and the cell on the left and store it into current cell |
: |
run current cell of the second row on current cell in the first row. if the cell does not become 0 set it to -
|
, |
print current cell as a ascii char |
$ |
print current cell as a number |
0 |
set current cell to user input |
( and ) |
bf loop |
computational class
pretty sure you can simulate a MM and/or brainfuck but idk im to lazy to proove it