Coem

Reference

Operators, keywords, and native functions in the language.

Operators

ampersand (&) | ˈæm pərˌsænd |

operator

an operator used to return a value from a block, such as a function.

to saylove:
    let presence be love
    & presence.

ORIGIN

inspired by the idea of symmetry and completion achieved by the use of the ampersand.

colon (:) | ˈkoʊ lən |

operator

an operator used to indicate the start of a block, such as a function, if statement, or while statement.

to inhale:
    & exhale.

ORIGIN

adapted from the similar operator in Python.

comma (,) | ˈkɒmə |

operator

an operator used to separate parameters or arguments.

knowme, myself, I

ORIGIN

adapted from the similar operators in many programming languages.

dagger (†) | ˈdæg ər |

operator

an operator used to begin a comment.

† to keep secrets from the compiler

ORIGIN

adapted from its use in printing to indicate a footnote if an asterisk has already been used.

dot (.) | dɒt |

operator

an operator used to indicate the end of a block, such as a function, if statement, or while statement.

to inhale:
    & exhale.

ORIGIN

inspired by its use as the ending terminal of a sentence in English and other languages.

em dash (—) | ˈɛm daʃ |

operator

an operator used in pairs to indicate a function, if statement, or while loop. Parameters or arguments go in between the two dashes.

to gothere:
    & stay.

ORIGIN

adapted from the commonly used parentheses () and borrowing from the use of em dashes in writing to indicate a break in thought or additional information.

quotation marks (“”) | kwəʊˈteɪʃn mɑrks |

operator

an operator used to hold a string.

let me be “whole”

ORIGIN

adapted from the similar operator in both programming languages and writing, encoded with the more refined typographical choice.

Keywords

and | ænd |

keyword

a keyword used to evaluate whether two expressions are both true.

ifyou and I:
    knowourselves.

ORIGIN

adapted from the similar operator in Python.

be | bi |

keyword

a keyword used to set the value of a variable.

let me be true

ORIGIN

inspired by its use in English as a copula.

else | ɛls |

keyword

a keyword used after an if statement to perform the actions in the following block if the given condition is false.

ifyou and I:
      knowourselves.
else:
      knownothing.

ORIGIN

adapted from the similar operator in other programming languages.

false | fɔls |

keyword

a keyword used to represent the logical value “false”.

let me be false

ORIGIN

adapted from the similar operator in other programming languages.

if | ɪf |

keyword

a keyword used to perform the actions in the following block if the given condition is true.

ifyou and I:
      knowourselves.

ORIGIN

adapted from the similar operator in other programming languages.

is | ɪz | also am, are

keyword

a keyword used to compare two values.

ifup is down:
    turnaround.

ORIGIN

inspired by its use in English. Comparable to the two equal signs (==) operator in other programming languages.

let | lɛt |

keyword

a keyword used to define or redefine a variable.

let me be true

ORIGIN

adapted from its similar use in JavaScript and inspired by the optative mood, which is used to express a wish.

not | nɒt |

keyword

a keyword used to negate the following value.

ifnot right:
    makeleft.

ORIGIN

inspired by its use in both Python and English. Comparable to the bang (!) operator in other programming languages.

nothing | ˈnʌθ ɪŋ |

keyword

a keyword used to represent the “nothing” value.

let me be nothing

ORIGIN

adapted from similar “null” or “none” keywords in other programming languages.

or | ɔr |

keyword

a keyword used to evaluate whether at least one of the two expressions is true.

ifyou or I:
      knowourselves.

ORIGIN

adapted from the similar operator in Python.

true | tru |

keyword

a keyword used to represent the logical value “true”.

let me be true

ORIGIN

adapted from the similar operator in other programming languages.

while | waɪl |

keyword

a keyword used to perform the actions in the following block repeatedly while the condition is true.

whileyou and I:
      knowourselves.

ORIGIN

adapted from the similar operator in other programming languages.

Functions

maybe | ˈmeɪ bi |

function

a function used to generate a random true or false value.

let me be maybe

ORIGIN

adapted from similar random generator functions in other programming languages.

print | prɪnt | also know, say

function

a function used to print the following value.

printmyself

ORIGIN

adapted from similar functions in other programming languages.