Datatypes

This topic is meant to document all Datatypes in Pile

Datatypes

Pile has a total of 5 datatypes:

DatatypeDescription
int64-bit Integer
float64-bit float
stringArray of UTF8 characters, unlimited size
booltrue or false. Also known as 1-bit Integer.
nilNull type

Literals

Here are some examples of literals in Pile:

DatatypeLiteral
inte.g. 10, 0, -10, 100
floate.g. 10.5, 10.0, 0.0, 0.5
stringe.g. "Hello, World!", "This is a string", "", " "
booltrue or false
nilnil