You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ChocoPy/generate_assembly_r.sh

13 lines
236 B

#!/bin/bash
FILENAME=$1
if [ -z "$1" ] ; then
echo "FILENAME is missing"
exit 1
fi
echo "Generating assembly code for file ${FILENAME}"
java -cp "chocopy-ref.jar:target/assignment.jar" chocopy.ChocoPy --pass=rrr ${FILENAME}