FuckTheBit
Jump to navigation
Jump to search
FuckTheBit is an esoteric programming language by User:FluixMakesEsolangs, the offical interpreter is made in Python. This Programming language is also hell.
How the language Works
The language has 8 commands:
- ^ - This takes the next symbol and duplicates it to the current pointer cell.
- + - Flips the current cell
- > - Moves Pointer Right Twice
- < - Moves Pointer Left
- [ - Unconditional Loop Beginning
- ] - Unconditional Loop End
- ; - Skips next instruction if the current cell is false
- ! - Prints the value of the next symbol, this command isn't needed.
Examples
As there's this language is annoying to program in there's only a few examples. Hello World - This is just a basic "Hello, world!" Program
!H!e!l!l!o!,! !w!o!r!l!d
Known Interpreters
Official Interpreter:
p=0;pr=list(input());c=0;l=0;
while c<len(pr):
i = pr[c];c+=1;
if p>=len(pr):pr.append(False)
if i=="^": pr[p] = pr[c]
elif i=="+":pr[p] = not pr[p]
elif i==">":p+=2;
elif i=="<":p-=1
elif i=="[":l=c
elif i=="]":c=l
elif i==";" and not pr[p]:c+= 1
elif i=="!":print(pr[c],end="")
print("\nDump:")
print(pr)
This interpreter is also only ~330 Bytes, there is a few bugs I will have to fix BTW.