1quad

From Esolang
Jump to navigation Jump to search

1quad is an esolang based on Conway's Game of Life created by User:Yayimhere. it may seem random but it was made such that 1 was a quad

syntax

a program is made up of a single unary number where the unary symbol is .. to add a decimal behind it you seperate the decimal part with a =

semantics

now we have a unary number. lets call it n. now do this process to turn the program into conway's game of life:

  • set a variable P to
  • the area(called the rectangle) for the GoL pattern is by
  • fit the binary of P into the rectangle(not caring about what goes outside the rectangle) where 1 is a live cell and 0 is a dead cell, and if there aren't enough digits we repeat the binary until there is. we ignore the decimal if there is any
  • run the GoL program

so the program:

.

returns this GoL layout:










and:

..

becomes the layout: