Y/λ
Jump to navigation
Jump to search
Y/λ is a minimalist esolang made to be really simple, created by User:Yayimhere
syntax
all the simple syntax of Y/λ
| symbol | description |
|---|---|
| Y | push what was at the code pointer location before this command was encountered onto the stack |
| L | push what was at the data pointer before this command was encountered onto the stack |
| : | pop the top of the stack and replace what's at the code pointer location with that object |
| ; | pop the top of the stack and replace what's at the code pointer location with that object |
| ( | go to the corresponding ) if there are one or more 's on the stack |
| ) | go to the corresponding ( if there are no 's on the stack. |
| O | pop the top of the stack and output it. if the top of the stack is a number output as a number and/or if its a string thats on top of the stack print it as a string |
| # | push the following symbol onto the stack as a number instead of a string |
| + | pop the top two numbers specifically of the stack and add them and push the result. goes in the order: highest number on the left |
| - | negate the top value on the stack |
| ^ | make the data pointer go to the symbol before this one |
| > | reverse the whole stack |
any symbol thats not a command will just be ignored but still existing so the code pointer can be at them and they can be added to the stack
the code pointer moves from left to right until it gets to the end of the code
the data pointer does not move unless told to(by the ^ command)