22 lines
254 B
Plaintext
22 lines
254 B
Plaintext
Alias Byte = U8;
|
|
Alias Int = U32;
|
|
Alias String = Vector<Byte>;
|
|
|
|
Enumeration Boolean {
|
|
False = 0,
|
|
True = 1,
|
|
}
|
|
|
|
Enumeration Nothing {}
|
|
|
|
Enumeration Option<T> {
|
|
None,
|
|
Some(T)
|
|
}
|
|
|
|
Structure Version {
|
|
major: Byte,
|
|
minor: Byte,
|
|
patch: Byte,
|
|
}
|