Nocent

From Esolang
Jump to navigation Jump to search

Nocent Is An Esoteric Programming language created By User:Buckets in 2022.

Commands Instructions
b Push The following Number if it is One of The Following directions.
Directions Number Representations
0
1
2
3
4
5
6
7
q Start the One and Only IP, it eill be facing Rightwards.
p Rotate the IP 45 degrees Clockwise but also 45 Degrees Clockwise to the Commands as well.
d Add the Top Two values And destroy the Top Two values And push their Added values.
z Negate The next number That will Be pushed.
o Push the Input value.
s Print the top Value Into ASCII and destroy The Top value On the Stack.
I Print the Top Value.
| If the Current Direction is either Zero degrees or 180 Degrees, turn 180 Degrees.
- Multiply The top two values and Replace the Second to the top Value With It.
Set the Top value to 8.
~ If the Top value Equals to Zero, Turn 90 Degrees Clockwise, Else turn 45 degrees anti-Clockwise.
𝍤 Destroys The top Two values And Pushes the Answer To the Top value Modulo the Bottom Value plus Eight.

If a Command Does not align With the current IP's direction, That command will Be Skipped.

Cat Program:

q poIp
 p    p
 p    p
  p  p