Fakefuck

From Esolang
Jump to navigation Jump to search

Fakefuck looks like Brainfuck but is different.

Commands

+- pop
++ push
>> to
<< from
<> swap
>< seperator
+. stack
+, memory
[[ add
][ subtract
[] divide
]] multiply
[> go to [< if not 0
[< go to [> if 0
]> go to ]<
]< nop
-. 0
-, 1
-- user input
-+ output

Cat

-->>+,><-++,

Truth machine

-->>+,><[>><]<><-++,><]>><[<><-++,

Nop

]<