Linear

From Esolang
Jump to navigation Jump to search

Linear is a esolang created by User:Yayimhere

syntax

the program is made up of a list of lists separated by spaces. lists themselves are set up like this:

⟨n, m⟩

where n and m are positive integers

semantics

for every n, and m we do this function and solve for the lowest x:

now we do a check when we have got to the end of the program: if x's value entered chaotic behaviour the program halts. else it adds a new list thats made up with the first element being x and the second one is x*2. also if at any point x entered linear behaviour the list it started at is deleted