Packages and Imports
Package Declaration
Every Semantifyr file begins with a package declaration. Fully qualified names use :: as a separator.
package example::library
package example::deep::namespace
Imports
import brings the symbols of another package into scope. Imports may appear after the package declaration.
package example::application
import example::library
Without an import, symbols from another package can still be referenced by their fully qualified name (for example, example::library::Foo).
Implicit Imports
The semantifyr standard library is always in scope.
package example::application
import semantifyr // implicit