Primitives
Primitives are the built-in value types that live on the stack.
There are 4 distinct primitives in Hymn:
- None
- Booleans
- Integers
- Floats
None
Also known as "null" or "nil" in many programming languages. The none type is used to express the absence of a value.
none
Booleans
A boolean value is always either true or false.
true
false
Integers
An integer is a 64 bit signed discrete number.
0
1
- 1
12
- 24
Floats
A float is a 64 bit signed floating point number.
0.0
0.1
1.0
- 12.48
12.48