Skip to content

8.3) Variables and Constants

Julien Cumin edited this page Jan 11, 2022 · 4 revisions

Variables and constants are denoted with dotted uppercase letters (with exceptions π and φ), to match the fact that uppercase latin letters are free variables identifier.

Letters with a dot below are string constants.

Letters with a dot above are preconstrained variables.

List of built-in variables and constants

Symbol Name Value
Alphabet "abcdefghijklmnopqrstuvwxyz"
Consonants "bcdfghjklmnpqrstvwxyz"
Consonants var "bcdfghjklmnpqrstvwxz" (no y)
Empty string ""
Hello, World! "Hello, World!"
Integers "0123456789"
Linebreak "\n"
Alphanumeric "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
Space " "
Printable ASCII " !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
Vowels "aeiou"
Vowels var "aeiouy"
Reversed alphabet "zyxwvutsrqponmlkjihgfedcba"
Ȧ
Ċ Couple [I,J]
Digit is in 0..9
Ė Empty list []
Ġ
İ Integer İ is an integer
Many is a list of at least 2 elements
Ȯ One [I]
String is a string
Triplet [I,J,K]
Ż
π Pi 3.14159265359
φ Golden ratio 1.61803398875