]> matita.cs.unibo.it Git - helm.git/commitdiff
Initial
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 20 Dec 2000 15:12:38 +0000 (15:12 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 20 Dec 2000 15:12:38 +0000 (15:12 +0000)
helm/EXPORT/export_Bordeaux_EXCEPTIONS/Makefile [new file with mode: 0644]
helm/EXPORT/export_Bordeaux_EXCEPTIONS/exporttheories.sh [new file with mode: 0755]
helm/EXPORT/export_Bordeaux_EXCEPTIONS/prova_Bordeaux_EXCEPTIONS.v [new file with mode: 0644]

diff --git a/helm/EXPORT/export_Bordeaux_EXCEPTIONS/Makefile b/helm/EXPORT/export_Bordeaux_EXCEPTIONS/Makefile
new file mode 100644 (file)
index 0000000..484f097
--- /dev/null
@@ -0,0 +1,11 @@
+all: objects theories
+
+objects:
+       coqc -R EXCEPTIONS Bordeaux.EXCEPTIONS EXCEPTIONS/*.v
+       echo "Load Verbose prova_Bordeaux_EXCEPTIONS." | coqtop.byte -R EXCEPTIONS Bordeaux.EXCEPTIONS
+
+theories:
+       ./exporttheories.sh
+
+clean:
+       rm -f *.vo EXCEPTIONS/*.vo
diff --git a/helm/EXPORT/export_Bordeaux_EXCEPTIONS/exporttheories.sh b/helm/EXPORT/export_Bordeaux_EXCEPTIONS/exporttheories.sh
new file mode 100755 (executable)
index 0000000..5328273
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+echo "Exporting theory $1";
+
+for i in EXCEPTIONS/*.v
+ do
+  basename=$(basename $i | sed s/\\.v//)
+  cat $i | ../mktheory.pl "Bordeaux/EXCEPTIONS/$basename" > \
+   examples/Bordeaux/EXCEPTIONS/$basename.theory.xml
+ done
diff --git a/helm/EXPORT/export_Bordeaux_EXCEPTIONS/prova_Bordeaux_EXCEPTIONS.v b/helm/EXPORT/export_Bordeaux_EXCEPTIONS/prova_Bordeaux_EXCEPTIONS.v
new file mode 100644 (file)
index 0000000..07c14ef
--- /dev/null
@@ -0,0 +1,5 @@
+Require Export Xml.
+
+Require leavemult.
+
+Print XML Module Disk "examples" leavemult.