ΙΧrainfisHQ9+

From Esolang
(Redirected from IXrainfisHQ9+)
Jump to navigation Jump to search
This is still a work in progress. It may be changed in the future.
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

This language is a combination of ΙΧΘΥΣ, brainfuck, deadfish and HQ9+. This language operates on an infinite array of unbounded memory cells, each initially set to zero. There is a pointer, initially pointing to the first memory cell. The commands are:

  1. Begin a function, next character is name. [1]
  2. Decrement the memory cell under the pointer
  3. Display the base-10 representation of the current cell
  4. Divide the value at the pointer by the value at the next cell
  5. Divide the value at the pointer by the value at the previous cell
  6. Do if the value under the pointer is nonzero
  7. Do if the value under the pointer is zero
  8. Do while the value under the pointer is nonzero
  9. Do while the value under the pointer is zero
  10. End a function's definition
  11. Escape out of the current loop/function
  12. Increment the memory cell under the pointer
  13. Input and store it's Unicode representation
  14. Modulo the value at the pointer by the value at the next cell
  15. Modulo the value at the pointer by the value at the previous cell
  16. Move the pointer left
  17. Move the pointer right
  18. Multiplies the current value by a random number between 0 and 1
  19. Multiply the value at the pointer by the value at the next cell
  20. Multiply the value at the pointer by the value at the previous cell
  21. Output the Unicode representation of the memory cell under the pointer
  22. Performs a square root on the current cell
  23. Set the current value to 0
  24. Squares the memory cell under the pointer
  25. Swap the current cell and the next cell
  26. Swap the current cell and the previous cell

*1: When the program encounters its name, it will call the function.