echo "-----------"
echo "files PASS5c"
echo "-----------"
echo "1 accessible"
echo "2 analyze"
echo "3 bld_analyze"
echo "4 decl_sort"
echo "5 analyze_let_op.inc"
echo "6 analyze_str.inc"
echo "7 analyze_gt.inc"
echo "8 analyze_prim.inc"
echo "9 allocate"
echo "-----------"

echo "111 TEST fact"
echo "112 TEST misc"
echo "113 TEST simp0001"
echo "114 TEST simp0002"
echo "123 TEST simp0011"
echo "124 TEST simp0012"
echo "125 TEST simp0013"

echo "999 quit"
echo "select"
read select
while [ $select -ne 999 ]
do 
case $select in
1) emacs pass5c/accessible.c pass5c/accessible.icn;;
2) emacs pass5c/analyze.c pass5c/analyze.icn;;
3) emacs pass5c/bld_analyze.c pass5c/bld_analyze.icn;;
4) emacs pass5c/decl_sort.c pass5c/decl_sort.icn;;
5) emacs pass5c/analyze.c pass5c/analyze_let_op.inc.icn;;
6) emacs pass5c/analyze.c pass5c/analyze_str.inc.icn;;
7) emacs pass5c/analyze.c pass5c/analyze_gt.inc.icn;;
8) emacs pass5c/analyze.c pass5c/analyze_prim.inc.icn;;
9) emacs pass5c/allocate.c pass5c/allocate.icn;;


111) ./testfact;;
112) ./testmisc;;
113) ./testsimp0001;;
114) ./testsimp0002;;
123) ./testsimp0011;;
124) ./testsimp0012;;
125) ./testsimp0013;;

esac
echo "-----------"
echo "files PASS5c"
echo "-----------"
echo "1 accessible"
echo "2 analyze"
echo "3 bld_analyze"
echo "4 decl_sort"
echo "5 analyze_let_op.inc"
echo "6 analyze_str.inc"
echo "7 analyze_gt.inc"
echo "8 analyze_prim.inc"
echo "9 allocate"
echo "-----------"


echo "111 TEST fact"
echo "112 TEST misc"
echo "113 TEST simp0001"
echo "114 TEST simp0002"
echo "123 TEST simp0011"
echo "124 TEST simp0012"
echo "125 TEST simp0013"

echo "999 quit"
echo "select"
read select
done
