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.
Relation
Jump to navigation
Jump to search
Relation is an esolang with only 2 symbols, < and >. But if you count a space as a symbol then 3
| Group | Meaning | Example |
|---|---|---|
| < | subtract 1 | <=-1 |
| > | add 1 | >=1 |
| << | Print current value as value (resets current value) | <<=-1 |
| <> | Print currnet value as text (resets current value) (Absolute value) | <>=A |
| >> | Skip next unless 0 | < >> > > >> < =-1 |
| >< | Go to this point when 0 (left to right) | > >< <=-1 |
This is a very simple esolang.
Text
The text list for <> is ABCDEFGHIJKLMNOPQRSTUVWXYZ&!?,. If the text value is greater than 31, it uses the first unused ASCII character (unless the next unused is a number), then the second, then the third. Ect.
Rules
- For <>, it uses the abeolute value of the current value (CV)
- For both printing instruction, when it is ran, the current value resets to zero
- Instructions are stacked! >>> will be 10 because > runs with sets CV to 1, then next is > but another > was before it so it becomes >> instead, which prints the 1 and sets CV to 0, then we have another > and the second > was previous so it turns into another >> and since CV resets to 0 after every printing, it prints the zero!
- spaces seperate symbols, > >>=2 but >>>=10 (see above)
Basic programmes
0123456789
< >> >> > >> > > >> > > > >> > > > > > >> > > > > > > >> > > > > > > > >> > > > > > > > > >>
1000
>>>>>
ABC
> > <> > > > <> > > > > <>