package minijava object Main { def main(args: Array[String]) { val compUnit = new Compiler() var parsedTree: Option[parser.Trees.Tree] = None if (args.length != 1) compUnit.fatalError("usage: scala minijava.Main <File.java>") compUnit.compile(args(0)) } }