equal
deleted
inserted
replaced
1 |
1 |
2 The packages can be compiled with |
2 The packages can be compiled with |
3 |
3 |
4 scalac *.scala |
4 scalac lib.scala turing.scala abacus.scala recs.scala comp1.scala |
5 |
5 |
6 If you get an error, it is advisable to clean |
6 If you get an error, it is advisable to clean |
7 out the existing class-files |
7 out the existing class-files |
8 |
8 |
9 rm */*.class |
9 rm */*.class |
10 |
10 |
11 |
11 |
12 After compilation, the examples can be run in |
12 After compilation, the examples can be run in |
13 the REPL as well as in scala. For example |
13 the REPL as well as in scala. For example |
14 |
14 |
|
15 |
|
16 scala ex.scala |
|
17 |
|
18 or |
|
19 |
15 scala -cp $PWD ex.scala |
20 scala -cp $PWD ex.scala |
16 |
21 |
17 |
22 |
18 The directory can be cleaned with |
23 The directory can be cleaned with |
19 |
24 |
20 rm -rf *~ lib turing abacus comp1 |
25 rm -rf *~ lib turing abacus comp1 recs |
21 |
26 |