Xtrod
Jump to navigation
Jump to search
Xtrod was User:Ractangle's attempt to minimise the Brainfuck instructions
Instruction minimise
><+-,.[] The standard bf set ><+-![] Merged I/O into one command (0 for output, anything else for input) (<-![] Merged + and > (<-!| Skips an instruction if zero. Otherwise jump to the nearest |
The final table should look like this:
Symbol | Action |
---|---|
( | Mover the pointer to the right and Increments the previous cell |
< | BF move pointer left |
- | BF decrement cell |
! | I/O, gets output if not zero, gets input if zero |
| | Skips an instruction if zero, go to the nearest | if not zero
|
Oh and don't worry, you can wrap the cell pointer in Xtrod
See also
- BF instruction minimalization - other attempts at BF minimalization