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.
Dipole
Jump to navigation
Jump to search
This article is NOT a stub, there is not a whole lot of stuff to explain here.
Dipole is another one of my esolangs which I decided to make. It uses two values which can be altered unidirectionally, however one operations allows you to go in the other direction.
| Instruction | Meaning |
|---|---|
| N | Increment cell 1 |
| S | Decrement cell 2 |
| > | Take cell 1 + cell 2, put it into cell 1. |
| < | Take the same sum, but put it into cell 2. |
| O | Output cell 1 in ASCII (256 = 0) |
| Q | Output cell 2 in ASCII (256 = 0) |
| ! | Begin while loop: while cell 1 + cell 2 is not 0 |
| ? | End while loop: while cell 1 + cell 2 is not 0 |
Because everything is done mod 256, you can increase S or decrease N using this as well as the > and < operators.
Example programs
Prints ÿ.
S>O # or S<Q, for example.