We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

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.