Bijection

From Esolang
Jump to navigation Jump to search

Bijection is a esolang created by User:Yayimhere where all you do is copy lines to other lines

commands

there is the main command:

{}n

the contents of the brackets will be replaced with the contents of line n(starting at 0). if the brackets already has content it will be prepended. and to separate these(so you can have more commands on the line) you use ;. the contents will be ran once
all this loops forever. so we iterate each line once top to bottom. then we do it again forever. also putting # at the start of the line that line will be ignored. if it's anywhere else than the start its ignored

the printing extension

in this extension (print x) prints x(it ends at the last bracket)

examples

Infinite loop:

{}0

(even though every program loops forever but dis one does something) Looping counter(created by User:ais523 and rewritten a little bit by User:Yayimhere):

 {}1
#(print * ) 
(print \n )

this uses the printing extension, but if you delete the print's, the brackets, and the #, and it will work the same. the fact that Bijection can do this proves that it's more power full than a linear bounded automaton