Types
Types can be declared through the use of the type keyword, like so:
Note that Scar types are not compatible with the C ABI, in order to have C ABI compatible structs/types, you need to prepend the extern keyword to the type. So for example:
Functions can be declared on types, in a form of namespacing. This is not methods. There are no methods in Scar, data cannot have behaviour.
An example of type-level namespacing on functions: