Source file of the Cooker
Cooker is a evaluation environment of the Rice language. Therefore, the source file to be executed by the Cooker must be written in Rice language.
Please refer to the following link for requirements that the Rice source file should have.
In the following sections, it explains the special requirements that the Cooker source files should have.
The source file called directly from the cooker must have a .cook extension. The Rice source files with an extension other than .cook extension cannot be called from the Cooker.
However, a Rice source file with an extension other than .cook extension can import into a Rice source file with a .cook extension.
The main class needs to be defined only once in the reading of the Rice source file starting from the .cook file.
The main class does not need to be defined in the .cook file. However, we recommend that you define it in a .cook file.
The start () method which is the entry point of execution is required in the main class.
The entry point will be described later.
You can define the end () method which is the exit point of execution in the main class. Defining the end () method is optional.
The exit point will be described later.