minic/build.sh

11 lines
154 B
Bash
Executable File

#!/usr/bin/env sh
ocamlbuild -use-menhir test.byte
./test.byte tests/$1.test > t.s
# echo 'load "t.s"' | spim
# spim
cat <<EOF | spim
load "t.s"
run
EOF