We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
User:АРЕЙ/Sandbox
Jump to navigation
Jump to search
Penguin is a 2d esolang.
Commands
| Command | Name | Description |
|---|---|---|
| P | Penguin | Moves left to right by default |
| / \ | Slopes | Redirect penguin up or down |
| | | Wall | Redirects penguin back (left to right —> right to left and vice versa) |
| c ' | Carry | Gives penguin symbol between c and ' on its move direction. Any symbol between c and ' does not count as a command. |
| i | Input | Asks for user input (1 symbol only) and gives it to penguin |
| e | Execute | Executes current symbol penguin holds as a command |
| # | Halt | Stops penguin (and so the program itself) |
| s | Say | Penguin outputs the symbol it holds (and the symbol disappears) |
| _ | Ice | Moves penguin to the next cell in its moving direction |
All commands are executed only when penguin touches them (it must touch the beginning of the command, e.g. c in cA').
Examples
Print Hello, world!:
P cH' s ce' s cl' s cl' s co' s c,' s c ' s cw' s co' s cr' s cl' s cd' s c!' s #
Infinite loop:
|P|
One Time Cat:
P i s #