| author | Christian Urban <christian dot urban at kcl dot ac dot uk> | 
| Thu, 14 Mar 2013 18:24:06 +0000 | |
| changeset 224 | 68324a8566c1 | 
| parent 205 | c7975ab7c52e | 
| child 225 | 0974c59e7029 | 
| permissions | -rw-r--r-- | 
| 
193
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
1  | 
|
| 
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
2  | 
The packages can be compiled with  | 
| 
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
3  | 
|
| 
205
 
c7975ab7c52e
corrected scala compiler from recs to abacus
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents: 
200 
diff
changeset
 | 
4  | 
scalac lib.scala turing.scala abacus.scala recs.scala comp1.scala comp2.scala  | 
| 
193
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
5  | 
|
| 
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
6  | 
If you get an error, it is advisable to clean  | 
| 
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
7  | 
out the existing class-files  | 
| 
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
8  | 
|
| 
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
9  | 
rm */*.class  | 
| 
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
10  | 
|
| 
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
11  | 
|
| 
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
12  | 
After compilation, the examples can be run in  | 
| 
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
13  | 
the REPL as well as in scala. For example  | 
| 
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
14  | 
|
| 
196
 
a69607b7f186
corrected README
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents: 
193 
diff
changeset
 | 
15  | 
|
| 
 
a69607b7f186
corrected README
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents: 
193 
diff
changeset
 | 
16  | 
scala ex.scala  | 
| 
 
a69607b7f186
corrected README
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents: 
193 
diff
changeset
 | 
17  | 
|
| 
 
a69607b7f186
corrected README
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents: 
193 
diff
changeset
 | 
18  | 
or  | 
| 
 
a69607b7f186
corrected README
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents: 
193 
diff
changeset
 | 
19  | 
|
| 
193
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
20  | 
scala -cp $PWD ex.scala  | 
| 
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
21  | 
|
| 
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
22  | 
|
| 
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
23  | 
The directory can be cleaned with  | 
| 
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
24  | 
|
| 
200
 
8dde2e46c69d
added all recursive functions needed for the UF
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents: 
196 
diff
changeset
 | 
25  | 
rm -rf *~ lib turing abacus comp1 comp2 recs  | 
| 
193
 
317a2532c567
split up scala-file into separate components
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
26  |