ontology
Jump to navigation
Jump to search
ontology is a esolang created by User:Yayimhere based on ontology.
how it works
the code is set up like this:
---------------- code ---------------- matrix ----------------
and a matrix is made like this:
[x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x]
each cell([ ]
) can hold a single symbol. this is the basic syntax:
[x]{y|
this states that if there is a cell containing x will then do code y. this is what y can be:
command | description |
---|---|
[x! |
x does not exist. this means that all cells holding x will be deleted |
[xy:z |
x AND y is z. each cell thats holds x and has a neighbour y will replace that with a single cell holding z |
¬[x]! |
the only thing that exists is x. deletes every cell thats not x |
x} |
x exists. append x to the matrix |
the matrix will always simplify like this:
[x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x]
becomes:
[x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x][x] [x][x][x][x][x][x][x]
the code section loops until only one thing exists