Module rurtle::environ::value
[−]
[src]
The Rurtle type/value system
Rurtle is dynamically typed and has 4 different types of values:
Number: Rurtle doesn't differentiate between integers and floats, there is
just a single number type. Internally numbers are represented by floats.
String: A chain of characters, also known as a text. Like Python, Rurtle
has no special datatype for a single character. A String of length 1 may
thus considered as a character.
List: A list is a list of other Rurtle Values, possibly even nested
Lists. A list is heterogenous, which means that it may contain values of
different types.
Nothing: Something like Python's None, this is the default value for
everything that doesn't explicitely return something else.
Enums
| Value |
Enum combining the possible Rurtle value types |