forked from AbleOS/ableos_userland
30 lines
420 B
Plaintext
30 lines
420 B
Plaintext
Use core.Byte;
|
|
Use core.Int;
|
|
|
|
Constant Hi = "WHY???/\n";
|
|
Alias Yo = Byte;
|
|
|
|
Constant Version = Make Version {
|
|
major: 1
|
|
minor: 0
|
|
patch: 0
|
|
};
|
|
|
|
Interface Iface {
|
|
Function hello Takes(Int Boolean) Returns(Int);
|
|
}
|
|
|
|
Function a_free_function Returns(Boolean);
|
|
|
|
Structure Hello {
|
|
world: Boolean prompt: Option<String>
|
|
}
|
|
|
|
Enumeration Reality {
|
|
Dead(Boolean Boolean),
|
|
Alive {
|
|
health: Int
|
|
dying: Boolean
|
|
}
|
|
}
|