Cellang

From Esolang
Jump to navigation Jump to search

Cellang is a cellular automaton by User:Hammy that has features of some esolangs for some reason

Cell Types

This is still a work in progress. It may be changed in the future.

0 is air. If there are 2 basic cells nearby, become a basic cell.

. is a basic cell. It dies if there isn't any neighbours. If there is more than 2 neighbors, it dies of overpopulation.

X kills all neighbours.

<>^v are instruction pointers. They move in those directions. When 2 pointers collide, the one that collided dies.

( When activated by an instruction pointer, pushes the cell to the left onto the stack. The cell to the left is deactivated.

) When activated by an instruction pointer, outputs the top value of the stack.

[ rotates an instruction pointer clockwise.

d deactivates all neighbours.

; terminates the program.

# is a wall.

] rotates counterclockwise.

* goes back 1 generation if the stack isn't empty.

Examples

Hello World

>[
!(
d(
l(
r(
o(
w(
 (
,(
o(
l(
l(
e(
H(
[]
[)*;