Skip to content

las-r/envy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ENVY

Yet another esolang.

Usage

python envy.py <filename.nvy>

Concepts

Envy is a 2D-stack-based esoteric programming language.

Stack

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.

Pointer

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.

Hand

The hand is register which holds an unsigned 8-bit value.

Syntax

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

FAQ

What does ENVY stand for?

Envy Not Very Yes.

What the hell does that mean?

Envy Not Very Yes.

Any inspirations?

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.

About

Envy Not Very Yes: Yet another esolang.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages