User:Thematrixeatsyou/HighFive (programming)

HighFive is an esoteric programming language made by Ben Russell. It is inspired by BrainFuck and is also 100% Turing-complete.

HighFive only contains 5 instructions: Like BrainFuck, any other character is a comment, and is completely ignored.
 * + - increment the value at the pointer
 * - - decrement the value at the pointer
 * * - jump if not zero
 * / - increment the pointer
 * . - put memory segment into output

The pointer can be one of eight possible 8-bit(1-byte) values, numbered from 0 to 7. They translate to:
 * 0-4:
 * These are the values that you manipulate. They are standard memory.
 * 5:
 * This sets the memory segment. When you do this, pointers 0-4 point to a different part of memory.
 * 6:
 * This sets the I/O port that you will use.
 * 7:
 * This is the input for the currently selected I/O port. It can be decremented for use in a loop using -. If you use + though, it will request a bit of input.

How does * work?
It is a relative conditional jump, which works like so: If the last value modified equals zero, then jump backwards or forwards the number of steps as indicated by the pointer, which in this case is treated as a signed number.

Examples
Here is an example program, which should print "HELLO": -//+++++++++///////++++++++/-//////*/.---.+++++++..+++.

Links
Category:Esoteric_programming_languages