--- a/misc/decompile Tue Dec 03 11:07:09 2019 +0000
+++ b/misc/decompile Mon Jan 27 10:18:13 2020 +0000
@@ -9,20 +9,37 @@
(ulimit -t 30; JAVA_OPTS="-Xmx1g" scala "$1" 2>> /dev/null 1>> /dev/null)
}
+
+#for sd in $files; do
+# cd $sd/Part7
+# echo $sd
+# if (scala_compile docdiff.scala)
+# then
+# scalac -g:notailcalls -d docdiff-decompiled.jar docdiff.scala
+# java -jar ~/pep-material/procyon-decompiler-0.5.36.jar -ln -jar docdiff-decompiled.jar -o .
+# rm CW7a.java
+# mv CW7a$.java $sd-CW7a.java
+# else
+# echo -e " --> SCALA DID NOT RUN docdiff.scala"
+# fi
+# cd ..
+# cd ..
+#done
+
+
+
for sd in $files; do
- cd $sd/Part7
+ cd $sd/Part9
echo $sd
- if (scala_compile docdiff.scala)
+ if (scala_compile postfix2.scala)
then
- scalac -g:notailcalls -d docdiff-decompiled.jar docdiff.scala
+ scalac -g:notailcalls -d docdiff-decompiled.jar postfix2.scala
java -jar ~/pep-material/procyon-decompiler-0.5.36.jar -ln -jar docdiff-decompiled.jar -o .
- rm CW7a.java
- mv CW7a$.java $sd-CW7a.java
+ rm CW9b.java
+ mv CW9b$.java $sd-CW9b.java
else
echo -e " --> SCALA DID NOT RUN docdiff.scala"
fi
cd ..
cd ..
done
-
-