Deep🕳️
(Redirected from User:Hotcrystal0/Deep🕳️)
Deep🕳️ is another extension of 🕳️ created by User:Hotcrystal0, User:I am islptng, and User:PrySigneToFry.
Data types
Deep🕳️ has two data types: strings and numbers. String are within double quotation marks, and numbers can be any real number.
Memory
Deep🕳️ has two types of memory; a stack and an accumulator. The accumulator can only store integers.
Commands
Deep🕳️ supports these commands:
| Command | Description | 
|---|---|
🕳️ or o
 | 
Get user input and output the input. | 
📞[..value..] or C[..value..]
 | 
Return value's length if it is a string. Otherwise, return floor(value). | 
⚫️ or 圆
 | 
Get user input and do nothing with it. | 
❗ or !
 | 
Get user input in string form and return it. | 
⚠️[input] or 警[input]
 | 
Reverse input and return it if it is a string. Returns the reciprocal of input if it is a number. If there is no [input], reverse the stack. | 
❓[input] or ?[input]
 | 
Output input. If there is no [input], dump the stack. | 
{code}
 | 
Repeat code forever. | 
n{code}
 | 
Repeat code n times. | 
+
 | 
Increment the accumulator. | 
-
 | 
Decrement the accumulator. | 
:
 | 
Set the accumulator to 0. | 
^
 | 
Multiply the accumulator by 2. | 
v
 | 
Divide the accumulator by 2. | 
a
 | 
Return the value of the accumulator. | 
↓[value] or 下[value]
 | 
Push value onto the stack. | 
↑ or 上
 | 
Pop a value off the stack and return it. | 
→
 | 
Move the bottom item in the stack to the top. | 
←
 | 
Move the top item in the stack to the bottom. | 
x➕y or x加y
 | 
Take two numbers, add them, and return the result. If both inputs are strings, append the second string to the end of the first string. | 
x➖y or x减y
 | 
Take two numbers, subtract them, and return the result. | 
x*y
 | 
Take two numbers, multiply them, and return the result. If one of the two inputs is a string, return the result of this string repeated x times (where x is an integer). | 
x/y
 | 
Take two numbers, divide them, and return the result. | 
([n]
 | 
Look at the value of n, and jump to the matching ) if value is 0.
 | 
退
 | 
Break from loop. 退!退!退! will halt.
 | 
码
 | 
Return the program's source. | 
🔢[str]
 | 
Convert a string to a number. | 
🔡[num]
 | 
Convert a number to a string. | 
%[n]
 | 
Return the Unicode character at code point n (decimal). | 
Examples
Hello World
❓["Hello, world!\n"]
Quine
❓[码]
A+B problem
❓[❗➕❗]
Truth-machine
([🔢[❗]]
{❓[1]}
)
❓[0]
退!退!退!
Nope. interpreter
⚫️ ❓["Nope."]