Background is an esolang.
Commands
The meaning of each colors
| Background color |
Meaning |
Example
|
| #FFFFFF (white/none) |
comments |
Don’t remove it!
|
| #0000FF (blue) |
variable/function name |
a
|
| #FF00FF (magenta) |
function inputs |
a,b,c
|
| #FF8F00 (orange) |
function codes |
{codes}
|
| #00FFFF (cyan) |
variable value |
1234
|
| #FFFF00 (yellow) |
if condition: |
condition
|
| #00FF00 (green) |
code that run when condition is true |
{codes}
|
| #FF0000 (red) |
code that run when condition is false |
{codes}
|
| #8F8F8F (grey) |
loop start/end |
{/codes/}
|
Example Commands
| Command |
Meaning
|
| {code} |
let code in color
|
| a"Brain" |
var a="Brain"
|
| FuncNameinput1,input2...{codes} |
Function FuncName(input1,input2...){codes}
|
| FuncNameinput1,input2... |
FuncName(input1,input2...)
|
| a=1{codeTrue}{codeFalse} |
if
|
| {/code/} |
loop
|
Defined functions/characters
input/output
| Function |
Meaning
|
| input |
get input
|
| printinput |
print input
|
Maths
| Character/Function |
Meaning
|
| + |
plus
|
| - |
minus
|
| * |
multiple
|
| / |
division
|
| ^ ** |
power
|
| sqrtnum |
sqrt(n)
|
| \^ \** |
nth root of...
|
| % |
mod
|
| floornum |
floor(num)
|
| ceilnum |
ceil(num)
|
| roundnum |
round(num)
|
Logic
| Character |
Meaning
|
| > |
greater than
|
| < |
less than
|
| = |
equal to
|
| ! |
not
|
| & |
and
|
| | |
or
|
Type Conversion
| Function |
Meaning
|
| numstring |
str to num
|
| strnum |
num to str
|
Loop
| Function |
Meaning
|
| break |
stop the loop
|
| restart |
back to the start of the loop
|
Examples
Hello, world!
print"Hello, world!"