cws/core_cw03.tex
changeset 471 135bf034ac30
parent 426 b51467741af2
child 475 59e005dcf163
--- a/cws/core_cw03.tex	Sat Sep 23 23:49:44 2023 +0100
+++ b/cws/core_cw03.tex	Wed Nov 01 15:01:32 2023 +0000
@@ -37,7 +37,7 @@
 This Scala assignment comes with two reference implementations in
 form of \texttt{jar}-files. This allows
 you to run any test cases on your own computer. For example you can
-call Scala on the command line with the option \texttt{-cp
+call scala-cli on the command line with the option \texttt{--extra-jars
   postfix.jar} and then query any function from the
 \texttt{postfix.scala} file (similarly for file \texttt{postfix2.scala}). As
 usual you have to prefix the calls with \texttt{C3a} and
@@ -45,7 +45,7 @@
 
 
 \begin{lstlisting}[xleftmargin=1mm,numbers=none,basicstyle=\ttfamily\small]
-$ scala -cp postfix.jar
+$ scala-cli --extra-jars postfix.jar
 
 scala> C3a.syard(C3a.split("( 5 + 7 ) * 2"))
 val res0: C3a.Toks = List(5, 7, +, 2, *)