w)

From Esolang
Jump to navigation Jump to search
The title of this article is not correct because of technical limitations. The correct title is actually w>.

w> is a esolang where the only way to store data is by creating pointers and changing commands. its self modifying. it was created by User:Yayimhere. and yes w> can have multiple IP’s which are all executed at once. the pointer starts in the upper left corner of the program and moves left. if any of the IP's go of program it halts. if to IP's intersect the one from bottom or left direction is sent to the upper right corner of program

syntax

lets start with the simplest command: /. when the IP lands on the slash it will copy the pointer. the first one will keep going in the original pointer direction while the other one will have turned 90 degrees anticlockwise. to delete a pointer the \ can be used. it will delete the IP when ran. the [ command will when ran be pushed in the pointers direction and turn the pointer direction 180. if its pushed into another command it will delete that command. ; will delete the last command ran including itself. with these rules a infinite loop can be created:

/\[
  ;
/ /
\ [

the > will oscillate the below command between / and ,. , will move the pointer downwards. so the loops can be modified:

,[
 ;
//
\[

there's also the ] will if its right to a pointer it will copy the command to the right of the ] and the ] itself to the left of the pointer