How to use scala (2.13) parser combinator in the REPL?

As the parser combinator is no longer a part of the Scala 2.13 standard library, how can it be included in the REPL? Yes, I know how to include it in an sbt project, that is trivial.

What about using Ammonite as your REPL? Otherwise, you may need to download the jar from MavenCentral and add it to the classpath of the REPL.

1 Like

OK, that is a solution. Thanks… Although it does seem a bit bothersome. If only there was something resembling import … I’ll try adding the jar into the class path :+1:

Ammonite does provide something resembling import

1 Like