blob: 6038d91a755fc06e4f0d07e7f6b763f37e6eda85 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
if [ -z "$1" ]
then
echo "Usage: $0 <path to .cup file>"
exit 1
fi
set -xe
./compile.sh
./cupcc "$@"
./assemble.sh output.nasm
set +e
./a.out
echo "Exit status: $?"
|