T+Riangle

From Esolang
Jump to navigation Jump to search

T+Riangle is a esolang Inspired by R + S

it operates on a left infinite array of bits and 7 bits of state.

At every step it picks the 7 bits of state for all the bits apart from the MSB, and the MSB becomes the next bit. if the bit is at position 0 then it becomes the bit at position N+1, N starts at 0. then it executes the program of R's and +'s with those 8 bits (Modifying the state and selected bit in the procces)

So the MSB gets selected like this:

 543210
      X
     X
      X
    X
     X
      X
   X
    X
     X
      X
  X
   X
    X
     X
      X
 X
  X
   X
    X
     X
      X
  ...

Every Program consists of two operations:

'+' Which increments the 8 associated bits

'R' Which Rotates the 8 associated bits left

IO

The input array is allowed to be set arbitrarily.


Examples

Not yet, i have a life i think