summaryrefslogtreecommitdiff
path: root/runner.sh
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-26 17:01:49 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-26 17:01:49 -0600
commit7c6c79a437a4c1e7cf85964d005a3cdeb59809f1 (patch)
tree87318f07590b624d4408410e4b2693ad20dff166 /runner.sh
parentccd38b0746b0b5aeeefdd6e49f2c9d6cb66676f4 (diff)
Added skeleton files in "heat" libary, successor to TypeCheckSimp
Diffstat (limited to 'runner.sh')
-rwxr-xr-xrunner.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/runner.sh b/runner.sh
index 89a1e7c..19c4960 100755
--- a/runner.sh
+++ b/runner.sh
@@ -16,9 +16,9 @@ function run_with_java() {
java -cp $dirname $filename
}
-function typecheck() {
- # typecheck the file
- java typecheck < $1
+function heat() {
+ # heat the file
+ java Typecheck < $1
}
function boil() {
@@ -62,8 +62,8 @@ case "$1" in
"java")
run_with_java "$2"
;;
- "typecheck")
- typecheck "$2"
+ "heat")
+ heat "$2"
;;
"boil")
boil "$2"
@@ -75,7 +75,7 @@ case "$1" in
condense "$2"
;;
*)
- echo "usage $0 [java|typecheck|boil|vaporize|condense]"
+ echo "usage $0 [java|heat|boil|vaporize|condense]"
exit 1
;;
esac