mirror of
https://gitlab.com/jusax23/raspberry-pi-pico-machine-code-emulator.git
synced 2024-11-22 06:36:45 +01:00
11 lines
338 B
Bash
11 lines
338 B
Bash
if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ]
|
|
then
|
|
echo "Use command with folloing Arguments: sh build.sh [lisp-file-input] [assembly-file-output] [hex-file-output]"
|
|
exit 1
|
|
fi
|
|
|
|
echo "Compiling to Assembly: "
|
|
node tools/lispToAs.js $1 $2 || exit 1
|
|
echo "Compiling to Binary: "
|
|
node tools/asToBinary.js $2 $3 || exit 1
|
|
echo "done"
|