Information

Deadline 22/08/2024 23:59:59
Submission limit No limitation

Sign in

Code generation (code)


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.

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.


Max file size: 1.0 MiB
Allowed extensions: .zip