SGF Parsing in Scala on Exercism declares a dependency on "org.scala-lang.modules" %% "scala-parser-combinators" % "2.1.0", but when I submit a solution using the library, fails to find it.
We received the following error when we ran your code:
-- [E008] Not Found Error: /mnt/exercism-iteration/src/main/scala/Sgf.scala:2:18 ---------
2 |import scala.util.parsing.combinator.RegexParsers
| ^^^^^^^^^^^^^^^^^^
|value parsing is not a member of util - did you mean util.Sorting? or perhaps util.Using or util.hashing?
I don’t think there’s a permalink to a failed iteration, so, please let me know if you need more information.
I have a few unsolved exercises on the Scala track, and this one is among them :)
I suggest the case of error is Scala 2 => Scala 3 migration.
The AI confirms this:
The Core of the Problem: A Deprecated Library
The root cause of this issue is that the scala.util.parsing.combinator library, which includes RegexParsers, is no longer part of the standard Scala library as of Scala 2.13 and later versions.