Yet another esolang.
python envy.py <filename.nvy>Envy is a 2D-stack-based esoteric programming language.
The 2D stack is infinite in every direction. Each cell in the stack holds an unsigned 8-bit integer (0-255). At the beginning of the program, every cell is set to 0.
The pointer faces toward one of the four cardinal directions and can move forward or backward. At the beginning of the program, the pointer is facing north.
The hand is register which holds an unsigned 8-bit value.
| Symbol | Action |
|---|---|
w |
Set pointer direction to north |
s |
Set pointer direction to south |
a |
Set pointer direction to east |
d |
Set pointer direction to west |
q |
Rotate pointer counterclockwise |
e |
Rotate pointer clockwise |
. |
Move pointer forward |
, |
Move pointer backward |
( |
Set hand to cell at pointer |
) |
Set cell at pointer to hand and and set hand to 0 |
+ |
Increment hand |
- |
Decrement hand |
@ |
Output ASCII character of hand |
[ |
Continue running code if hand > 0, otherwise skip to ] |
] |
Do nothing (Marks end for [) |
{ |
Do nothing (Marks start for }) |
} |
Jump back to the last { if hand > 0 |
Envy Not Very Yes.
Envy Not Very Yes.
Brainfuck. That's about it, everything else I came up with myself. This is a very typical esolang so if there's any matches in logic with other esolangs, which there probably is, it's purely coincidental.