↓110010000100110110010
- Not to be confused with ↑110010000100110110010.
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
↓110010000100110110010 is an esolang by User:Fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff.
Syntax
A ↓110010000100110110010 program is represented as a series of binary digits that represents the initial stack. Digits are pushed from left to right, one by one, such that the rightmost digit is on the top of the stack. Any character besides 0 and 1 in the source code is ignored and treated as comments.
Execution
Each step an instruction is popped off of the stack and executed. The program halts when the stack is empty when trying to pop a value off of the stack for an instruction. If this happens the program prints an "H"
Symbol | Effect |
---|---|
0 |
Pop a value off of the stack, negate it, and then push it twice. If the stack is empty, halt and output a 0. |
1 |
Pop 0s until a one is popped. Then, if there were n zeros popped, duplicate the top 2n+1 elements of the stack. In case of a stack underflow, halt and print a 1. |
Example
Here is an example of how a ↓110010000100110110010 program evolves over time.
1010 1000 1011 100 111 11 halts
Another one
Another one, this one goes into an infinite loop.
101101 101101 ...