Modules

source_file ::= items
mod_item    ::= "mod" upper_ident "{" items "}"

Each file automatically exists in its own module. More modules can be created within existing modules using the mod keyword.

Naming

Visibility

Importing and exporting