Standard library¶
Comefrom0x10 comes with a suprisingly complete standard library: it includes everything you need to solve literally any computable problem.
-
car
¶ Grabs the first character of a string:
car = 'abc' car # prints 'a'
-
cdr
¶ Grabs the rest of the string:
cdr = 'abc' cdr # prints 'bc'
-
itoa
¶ Converts a number that represents a Unicode code point to a string:
itoa = 65 itoa # prints 'A'
-
atoi
¶ The opposite of
itoa
. Together, they can be used to represent lists of numbers as strings.