Cool

From Esolang
Jump to navigation Jump to search
Not to be confused with 🆒.

Cool (Character Object Oriented Language) is esoteric programming language made by User:IQBigBang on 3rd January 2017. Almost every character in this language represents some action.

String mode

Used for entering text to code. Always in quotation marks.

Expression mode

Used for entering variable names. Always in tildes.

Command list

Command Meaning
o"name"(..) Makes new object with "name". Its definition is in brackets.
v~name~"value" Makes new variable with name and value or changes variable value. Value is optional.
f~name~[arguments](..) Makes new function with name and arguments. Its definition is in brackets. Arguments are optional.
i~name~ Saves input line to variable.
a[arguments](..) Arithmetic function.