Informasjon

Frist 18/08/2025 23:59:55
Innleveringsgrense Ingen begrensning

Logg inn

Code generation (code) 2025 - August session


The zip of your project

We expect the source code to be in the zip. We don't want your compiled code ;-)

Archive the root folder of your project. You should see the following architecture:

your-awesome-compiler-folder/
|
+-- build.gradle.kts
+-- src/
    |
    +-- main/
    |   |
    |   +-- java/
    |       |
    |       +-- [...]
+-- test/
    |
    +-- [...]

The project is built with: gradle build -x test and run with gradle run --args="test.lang -o test.class". More precisely, it can also be run with gradle run --args="../tests/test.lang -o ../tests/test.class", i.e. with relative paths to where the script test.lang is located and where the class file test.class should be generated. Be careful to generate your .class files for records in the same folder as the class file test.class !

warning

test.class is run with java -cp . test. It means that your test.class file must contain a test class that implements the main method.


Maksimal filstørrelse: 1.0 MiB
Tillatte filetternavn: .zip