Program structure

Package

A Marcel source file can have a package. It is optional but if it is specified, it must be the first instruction in the file (excluding comments)

package my.package

Imports

Then, some imports can follow. You can consult the default imported class/package here

Class

You can define classes like in Java.

Functions

Classes can have functions

Fields

Classes can also have fields