O(א₀)

From Esolang
Jump to navigation Jump to search

O(א₀) (pronounced O of alpeh null) is a esolang based on User:Yayimhere's discord username: (stack)[X, I, X, A]->[I] OR A=X which is incomplete as it is: (stack)[X, I, X, A]->(stack)[I] OR: {A=X->(stack)[A, I, A, A]}¡{? A=X -> A & X !(A & X) OR X->A}. any user can add a section with their commands and stuff. it has to be computable no running other esolangs and such. go to ∫∫∫∫∫∫∫∫∫∫∫∫∫ to add non commands and to see rules

syntax

all the syntax of O(א₀) put into sections

state

all state commands or basically commands that do stuff but no IO or something

-> and <-

these simply changes state to the next state of the stack. so for example lets say we popped X from the stack then basically you can write a -> and it returns the stack without X:

(stack)[X, I, X, C]

then your program encounters pop command and then a ->:

(stack)[X, I, X, C]-> / ->(stack)[I, X, C]

the <- is just go back to the start

/ and !

/ changes the state of the stack by popping its off the stack. and ! just makes a thing dissaper. this only works for making a function rule. in the example for arrows the / command is used. using !:

F(stack)[X, I]->!(stack)[I]->(stack)[X]

now F pops the last value on the stack

\ and ?

\ is push a value. so for example:

(stack)[X]->\(I)->(stack)[X, I]

and ? is make thing appear so:

F(stack)[X, I]->?(stack)[Y]->(stack)[X, I, Y]

more can be added