o⟴o+vFuck

From Esolang
Jump to navigation Jump to search

o⟴o+vFuck is like brainfuck but it uses substitution and special unicode char's. yes i will be calling it chars. these are the commands in o⟴o+vFuck

o⟴o+vFuck symbol brainfuck description
> Move the pointer to the right
< Move the pointer to the left
+ Increment the memory cell at the pointer
- Decrement the memory cell at the pointer
. Output the character signified by the cell at the pointer
, Input a character and store it in the cell at the pointer
[ Jump past the matching if the cell at the pointer is 0
] Jump back to the matching if the cell at the pointer is nonzero

now we get to things added:

Caption text
symbol description
A=B for N(n is defined as the first cell or $1) iterations replace A with B
A=B?C!=D replace A with B for N iterations if and only if C is not equal to D
A=B?C=D A=B?C!=D but if and only if C IS D.
$A cell with index A so fro example: A=B?$C!=$D is if and only if cell with index C is not equal to cell with index D. this can also be used in scripts. if used in the normal malbolge script write any command then []'s and then inside those a index it will be used in the command so ∐[$1] will increment cell 1

a simple usage of the replacement is:

SUB[
A=+++++++++++[>++++++>+++++++++>++++++++>++++>+++>+<<<<<<-]>+++
+++.>++.+++++++..+++.>>.>-.<<-.<.+++.------.--------.>>>+.>-.
]
A

when ran A is replaced with the hello world program and then it reruns the program