fix: remove logging from Main

This commit is contained in:
2025-02-21 18:51:50 +00:00
parent ab28f0950a
commit 0391b9deba

View File

@@ -222,7 +222,6 @@ def compile(filename: String, outFile: Option[File] = None)(using
frontend(os.read(os.Path(filename))) match {
case Left(typedProg) =>
val asmFile = outFile.getOrElse(File(filename.stripSuffix(".wacc") + ".s"))
println("OUTPUT TO" + asmFile.getAbsolutePath())
backend(typedProg) match {
case s: String =>
os.write.over(os.Path(asmFile.getAbsolutePath), s)