aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/repl/Main.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/repl/Main.scala')
-rw-r--r--src/dotty/tools/dotc/repl/Main.scala27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/repl/Main.scala b/src/dotty/tools/dotc/repl/Main.scala
new file mode 100644
index 000000000..ef362ce94
--- /dev/null
+++ b/src/dotty/tools/dotc/repl/Main.scala
@@ -0,0 +1,27 @@
+package dotty.tools
+package dotc
+package repl
+
+/* This REPL was adapted from an old (2008-ish) version of the Scala
+ * REPL. The original version from which the adaptation was done is found in:
+ *
+ * https://github.com/odersky/legacy-svn-scala/tree/spoon
+ *
+ * The reason this version was picked instead of a more current one is that
+ * the older version is much smaller, therefore easier to port. It is also
+ * considerably less intertwined with nsc than later versions.
+ *
+ * There are a number of TODOs:
+ *
+ * - re-enable bindings (urgent, easy)
+ * - re-enable jline support (urgent, easy)
+ * - create or port REPL tests (urgent, intermediate)
+ * - copy improvements of current Scala REPL wrt to this version
+ * (somewhat urgent, intermediate)
+ * - make string generation more functional (not urgent, easy)
+ * - better handling of ^C (not urgent, intermediate)
+ * - syntax highlighting (not urgent, intermediate)
+ * - integrate with presentation compiler for command completion (not urgent, hard)
+ */
+/** The main entry point of the REPL */
+object Main extends REPL \ No newline at end of file