Index php

From Esolang
Jump to navigation Jump to search

Index php is an esolang made by User:↑.

What and why

Index php is a random idea ↑ had in mind (kinda) based in a Minsky machine. It's because ↑ had no idea what to do. Also, it is his second esolang in 2026!

Commands, i guess

  • ADD [X] [Y]: Adds X to accumulator Y and output Y
  • SUJ [X] [Y]: If Y is nonzero subtract X from Y and output Y, else jump to line X

Examples

Truth machine... ig

ADD i A
SUJ 6 A
ADD 4 A
SUJ 4 A
SUJ 3 A
ADD 0 A

i is the input, you insert it manually