Skip to content

Commit 5f05686

Browse files
ricemeryabo64
authored andcommitted
Update to scala 2.12.1 refs #235 . Add Forth.scala - refs #137 (#251)
1 parent a0b2a5e commit 5f05686

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

exercises/forth/build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
scalaVersion := "2.11.7"
1+
scalaVersion := "2.12.1"
22

33

4-
libraryDependencies += "org.scalatest" % "scalatest_2.11" % "2.2.5" % "test"
4+
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test"
55
libraryDependencies += "org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.4"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import ForthError.ForthError
2+
3+
4+
class Forth extends ForthEvaluator {
5+
def eval(text: String): Either[ForthError, ForthEvaluatorState] = ???
6+
}

0 commit comments

Comments
 (0)