I am solving #544 and encountered a problem.
The mod.rs file is getting too long, so I tried splitting it into several modules. It works well in local tests.
However, on gg.kaist.ac.kr, as stated in the notice, the test only considers the original mod.rs file.
Therefore, I suggest allowing students to freely add modules in the iregen directory. This would improve code readability and maintainability.
❯ git diff ./scripts/
diff --git a/scripts/make-submissions.sh b/scripts/make-submissions.sh
index 29ff41b8..4e52e672 100755
--- a/scripts/make-submissions.sh
+++ b/scripts/make-submissions.sh
@@ -4,7 +4,7 @@
rm -rf irgen.zip simplify_cfg.zip mem2reg.zip gvn.zip deadcode.zip asmgen.zip final.zip
# Creates new submissions.
-zip irgen.zip -j src/c/write_c.rs src/irgen/mod.rs
+zip irgen.zip -j src/c/write_c.rs src/irgen/*
zip simplify_cfg.zip -j src/opt/opt_utils.rs src/opt/simplify_cfg.rs
zip mem2reg.zip -j src/opt/opt_utils.rs src/opt/mem2reg.rs
zip gvn.zip -j src/opt/opt_utils.rs src/opt/gvn.rs

I am solving #544 and encountered a problem.
The mod.rs file is getting too long, so I tried splitting it into several modules. It works well in local tests.
However, on gg.kaist.ac.kr, as stated in the notice, the test only considers the original mod.rs file.
Therefore, I suggest allowing students to freely add modules in the iregen directory. This would improve code readability and maintainability.