diff options
author | paltherr <paltherr@epfl.ch> | 2004-02-27 21:38:47 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-02-27 21:38:47 +0000 |
commit | 3eb734d2b45f3a534251fc65420b24d7e86cf503 (patch) | |
tree | 86ad54afdef9bc3de2fec52c03aef47c3b4acb98 | |
parent | f4308ff5f3dae9500ec89898e70a8cc9347e633f (diff) | |
download | scala-3eb734d2b45f3a534251fc65420b24d7e86cf503.tar.gz scala-3eb734d2b45f3a534251fc65420b24d7e86cf503.tar.bz2 scala-3eb734d2b45f3a534251fc65420b24d7e86cf503.zip |
- Removed scalac/Main.java
-rw-r--r-- | sources/scalac/Main.java | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/sources/scalac/Main.java b/sources/scalac/Main.java deleted file mode 100644 index 00f21908b7..0000000000 --- a/sources/scalac/Main.java +++ /dev/null @@ -1,38 +0,0 @@ -/* ____ ____ ____ ____ ______ *\ -** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala ** -** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL ** -** /_____/\____/\___/\____/____/ ** -** ** -** $Id$ -\* */ - -package scalac; - -import scalac.util.Reporter; - -/** The main class for SoCoS, a compiler for the programming - * language Scala. - * - * @author Matthias Zenger - * @version 1.0 - */ -public class Main { - - public static final String PRODUCT = - System.getProperty("scala.product", "socos") + " bootstrap"; // !!! - public static final String VERSION = - System.getProperty("scala.version", "unknown version"); - - public static void main(String[] args) { - Reporter reporter = new Reporter(); - CompilerCommand command = new CompilerCommand( - PRODUCT, VERSION, reporter, new CompilerPhases()); - if (command.parse(args) && command.files.list.size() > 0) { - Global global = new Global(command); - global.compile(command.files.toArray(), false); - global.stop("total"); - global.reporter.printSummary(); - } - System.exit((reporter.errors() > 0) ? 1 : 0); - } -} |