We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
Codescript
Jump to navigation
Jump to search
- This is still a work in progress. It may be changed in the future.
Codescript is a work-in-progress esoteric programming language.
| Designed by | User:CoolJarreb99 |
|---|---|
| Appeared in | 2026 |
| Computational class | Unknown |
| Reference implementation | Unimplemented |
| File extension(s) | .code |
Commands
arg is an argument.
variable is a user-defined variable.
| Command | Description |
|---|---|
var = arg
|
Sets variable var to arg.
|
print arg
|
Prints arg.
|
input var
|
Sets var to input.
|
inumput var
|
Sets var to input (as float).
|
inpot var
|
Sets var to input.
|
prfloat arg
|
Prints arg.0.
|
quine
|
Prints the input. |
cat
|
Prints dog.
|
schrodinger
|
Prints the program code. |
fizz arg
|
Returns arg * 3.
|
buzz arg
|
Returns arg * 5.
|
izz arg
|
Returns (arg % 3) == 0.
|
uzz arg
|
Returns (arg % 5) == 0.
|
razorblade
|
Prints razorblades.
|
razorblades
|
Prints razorblade.
|
arg arg
|
Prints cat. The first arg is not an argument.
|
pront arg
|
Prints arg.
|
if var
|
if var is equal to 0, do next line. Otherwise, skip it.
|
run arg
|
Go back arg commands.
|
blank
|
Prints the filename. |
brainfuck arg
|
Returns the character + arg times.
|
draw arg
|
Prints Failed to parse arg.
|
stop
|
Halts the program. |
holdon
|
Waits 4 seconds. |
holdup
|
Waits 3 seconds. |
waitaminute
|
Waits 2 seconds. |
worldmeup
|
Prints Hello, Worm
|
kill var
|
Sets var to 0.
|
hi
|
Prints a space. |
hie
|
Prints a space.
|
function()
|
Ends the program. |
comic
|
Returns 4. |
gloat
|
Returns a random number between 901 and 937. |
inc var
|
Adds 1 to var.
|
slider var
|
Adds 1 to var, then prints it.
|
ink arg
|
Waits abs(arg) hours.
|
thankyou
|
Prints Tom B.
|
getwellsoon
|
Same as thankyou.
|
green
|
Prints 65280. |
random
|
Returns 7, as achieved via d6 roll
|
leak
|
Returns 16776960. |
shoes
|
Prints shoe.
|
s
|
Returns print.
|
rodrick
|
Returns 64. |
nop
|
Prints MEGA JOHN BOMB!!!, waits one second, then infinitely prints John
|
john
|
Nop. |
poop
|
Nop. |
purple
|
Nop. |
wall
|
Prints beer.
|
Examples
Hello, World!
print "Hello, World!"
Cheating quine
schrodinger
Cat program
quine
FizzBuzz
t = 1
i = 0
j = not izz i
k = not uzz i
if j
print "Fizz"
if k
print "Buzz"
j = not j
k = not k
if t
print i
if j
run 2
if k
run 4
i = i + 1
print("\n")
run 16
4-function calculator
print "Input first number\n" input n1 print "\nInput second number\n" input n2 print "\nInput operation\n" input op print "\n" v = 0 t = op != "+" if t v = n1 + n2 t = op != "-" if t v = n1 - n2 t = op != "*" if t v = n1 * n2 t = op != "/" if t v = n1 / n2 print v
Disan count
inumput num i = 0 j = i == num print i i = i + 1 if j run 4