INCJ

From Esolang
Jump to navigation Jump to search

The INCJ (pronounced INC-JAY) programming language is an OISC. It operates on a memory of signed unbounded integers.

The pseudo-C definition

 Mem[a] += Mem[b];
 if (Mem[a] != Mem[c]) {
   goto d; 
 }


DJN equivalence

The following memory locations are defined:

  • dec:-1
  • zero: 0

For every DJN command, "X Y", the INCJ command "Y dec zero X", can replace it. This means INCJ is Turing Complete.