echo "files"
echo "1 main"
echo "2 mine"
echo "3 defs"
echo "4 global_vars"
echo "5 globals_init"
echo "6 initids"
echo "7 stt"
echo "8 ststructs"
echo "9 mknode"
echo "10 listops consnodes - not in unicon"
# echo "11 consnodes"
echo "12 RIC"
echo "13 Compile & Link Russell" 
echo "14 edit mm2 - used to complie & link russell"
echo "17 listops.c & ststructs_cls"
echo "30 sig_out"
echo "31 sig_in"
echo "32 build_symtab"

echo "110 TEST init"
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 "888 NOTES.txt"
echo "999 quit"
echo "select"
read select
while [ $select -ne 999 ]
do 
case $select in
1)  emacs main.c main.icn;;
2)  emacs mine.icn;;
3)  emacs defs.icn;;
4)  emacs global_vars.icn;;
5)  emacs globals_init.icn;;
6)  emacs pass1/parser/initids.c pass1/parser/initids.icn;;
7)  emacs pass1/stt/stt.c pass1/stt/stt.icn;;
8)  emacs stree/ststructs.mh stree/ststructs_cls.icn;;
9)  emacs stree/mknode.c stree/mknode.icn;;
10) emacs stree/listops.c datatypes/consnodes.c;;
# 11) emacs datatypes/consnodes.c datatypes/consnodes_cls.icn;;
12) emacs pass5d/RIC.c pass5d/RIC.icn;;
13) ./mm;;
14)  emacs mm2;;
17) emacs stree/listops.c stree/ststructs_cls.icn;;
30) emacs sigio/sig_out.c sigio/sig_out.icn ;;
31) emacs sigio/sig_in.c sigio/sig_in.icn ;;
32) emacs pass2/build_symtab.c pass2/build_symtab.icn ;;

110) ./testinit;;
111) ./testfact;;
112) ./testmisc;;
113) ./testsimp0001;;
114) ./testsimp0002;;
123) ./testsimp0011;;
124) ./testsimp0012;;
125) ./testsimp0013;;
888) emacs NOTES.txt ;;

esac
echo "files"
echo "1 main"
echo "2 mine"
echo "3 defs"
echo "4 global_vars"
echo "5 globals_init"
echo "6 initids"
echo "7 stt"
echo "8 ststructs"
echo "9 mknode"
echo "10 listops consnodes - not in unicon"
# echo "11 consnodes"
echo "12 RIC"
echo "13 Compile & Link Russell" 
# echo "13 grammar"
echo "14 edit mm2 - used to complie & link russell"
echo "17 listops.c & ststructs_cls"
echo "30 sig_out"
echo "31 sig_in"
echo "32 build_symtab"

echo "110 TEST init"
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 "888 NOTES.txt"

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