diff options
Diffstat (limited to 'src/main/scala/spark/repl/Main.scala')
-rw-r--r-- | src/main/scala/spark/repl/Main.scala | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/scala/spark/repl/Main.scala b/src/main/scala/spark/repl/Main.scala new file mode 100644 index 0000000000..f00df5aa58 --- /dev/null +++ b/src/main/scala/spark/repl/Main.scala @@ -0,0 +1,16 @@ +package spark.repl + +import scala.collection.mutable.Set + +object Main { + private var _interp: SparkInterpreterLoop = null + + def interp = _interp + + private[repl] def interp_=(i: SparkInterpreterLoop) { _interp = i } + + def main(args: Array[String]) { + _interp = new SparkInterpreterLoop + _interp.main(args) + } +} |