]> matita.cs.unibo.it Git - helm.git/blob - helm/EXPORT/exportcoq/export_contrib_theory.sh
ocaml 3.09 transition
[helm.git] / helm / EXPORT / exportcoq / export_contrib_theory.sh
1 #!/bin/bash
2
3 echo "Exporting theory $1";
4
5 for i in ../V7/contrib/$1/*.v
6  do
7   basename=$(basename $i | sed s/\\.v//)
8   cat $i | ../mktheory.pl "Coq/$1/$basename" 0 > \
9    examples/Coq/$1/$basename.theory.xml
10 #  cat $i | ../mktheory.pl "Coq/$1/$basename" 1 > \
11 #   examples/Coq/$1/"$basename"_with_types.theory.xml
12  done