2023-05-04 13:47:05 +00:00
|
|
|
Use core.Byte;
|
|
|
|
Use core.Int;
|
2023-05-04 12:44:49 +00:00
|
|
|
|
2023-05-04 16:50:17 +00:00
|
|
|
Constant Hi = "WHY???/\n";
|
|
|
|
Alias Yo = Byte;
|
2023-05-04 17:31:20 +00:00
|
|
|
|
2023-05-05 09:15:01 +00:00
|
|
|
Constant Version = Make Version {
|
2023-05-06 15:57:45 +00:00
|
|
|
major: 1, minor: 0, patch: 0
|
2023-05-04 17:31:20 +00:00
|
|
|
};
|
2023-05-05 11:21:24 +00:00
|
|
|
|
|
|
|
Interface Iface {
|
2023-05-06 15:57:45 +00:00
|
|
|
Function hello Takes(Int, Boolean,) Returns(Int);
|
2023-05-05 11:21:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Function a_free_function Returns(Boolean);
|
|
|
|
|
|
|
|
Structure Hello {
|
2023-05-06 15:57:45 +00:00
|
|
|
world: Boolean,
|
|
|
|
prompt: Option<String>,
|
2023-05-05 11:21:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Enumeration Reality {
|
2023-05-06 15:57:45 +00:00
|
|
|
Dead(Boolean, Boolean),
|
2023-05-05 11:21:24 +00:00
|
|
|
Alive {
|
2023-05-06 15:57:45 +00:00
|
|
|
health: Int,
|
|
|
|
dying: Boolean,
|
|
|
|
},
|
2023-05-05 11:21:24 +00:00
|
|
|
}
|