Fuck-brain
fuck-brain is a brainfuck derivative created by User:None1, it is the same as brainfuck with only the +,> and . command, and two consecutive commands have to be separated with line feed.
Accumulator
Fuck-brain has no < command, which means that the cells on the left of pointer are discarded, which means unlike brainfuck, fuck-brain actually uses an accumulator:
+ increases the accumulator.
> clears the accumulator.
. outputs the accumulator.
That means this esolang can be implemented with only O(1) space complexity.
Translation to Weeeeeeeeeeeeeeeeeeeeeeeeeeeeee
any fuck-brain code can be translated to Weeeeeeeeeeeeeeeeeeeeeeeeeeeeee since it is accumulator-based, but the opposite is not true. + in fuck-brain is
Infect person
> is
Bulk deinfect Skip next if no one infected Deinfect person
. is of course Check number of infections
.
Example Programs
Print line feed
+ + + + + + + + + + .
Hello World
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .
Interpreters
C
#include<stdio.h> int main(){ char c,x=0; while((c=getchar())!=EOF){ if(c=='+') x++; if(c=='.') putchar(x); if(c=='>') x=0; if(getchar()!='\n') return 1; } return 0; }
Python
One-liner, works only with perfect code.
exec("x=0\n"+'\n'.join({"+":"x+=1",">":"x=0",".":"print(chr(x&255),end='')"}[i] for i in __import__("sys").stdin.read().strip().split("\n")))
Ecliptica
place any character at the begining of the program or it will be ignored i[>>l?0(x)<<i?43(>+<)?62(>0<)?46(>O<)]