Infinautomata

From Esolang
Jump to navigation Jump to search

Infinautomata is a cellular automaton definer and player with a CSS-derived look and slightly annoying comments. The first thing you must do is specify a rule using a

rule {
}

template. For instance, to activate the Seeds rule, you would use:

rule {
instr-family: "B2/S", Conway
}

and to activate a gravity simulation, you would use:

rule {
instr-family: "down", single-movement
}

After this, you specify the topology and setup using a

set {
}

template. To activate a lightweight spaceship from Conway's Game of Life, you could use the template:

rule {
instr-family: "B3/S23", Conway
}
set {
topology: loop
.........................
.........................
.........................
.........................
.........................
..........O..O........... [{ The . can be replaced with * ]
..............O..........
..........O...O..........
...........OOOO.......... [{ The O can be replaced with anything but . or * ]
.........................
.........................
.........................
.........................
.........................
}

Oh yeah, and comments are like this:

[{ This is a comment. ]

Computational class

Since this can simulate any CA, including Rule 110 and CGoL, it is Turing complete.