]> matita.cs.unibo.it Git - helm.git/commitdiff
Another contribution. But this one does not work
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 7 Dec 2000 18:17:47 +0000 (18:17 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 7 Dec 2000 18:17:47 +0000 (18:17 +0000)
(the XML module crashes). Bug reported to Hugo.

helm/EXPORT/export_Rocq_HIGMAN/Makefile [new file with mode: 0644]
helm/EXPORT/export_Rocq_HIGMAN/exporttheories.sh [new file with mode: 0755]
helm/EXPORT/export_Rocq_HIGMAN/prova_Rocq_HIGMAN.v [new file with mode: 0644]

diff --git a/helm/EXPORT/export_Rocq_HIGMAN/Makefile b/helm/EXPORT/export_Rocq_HIGMAN/Makefile
new file mode 100644 (file)
index 0000000..0aaabee
--- /dev/null
@@ -0,0 +1,11 @@
+all: objects theories
+
+objects:
+       coqc -R HIGMAN Rocq.HIGMAN HIGMAN/*.v
+       echo "Load Verbose prova_Rocq_HIGMAN." | ~/V7/bin/coqtop.byte -R HIGMAN Rocq.HIGMAN
+
+theories:
+       ./exporttheories.sh
+
+clean:
+       rm -f *.vo HIGMAN/*.vo
diff --git a/helm/EXPORT/export_Rocq_HIGMAN/exporttheories.sh b/helm/EXPORT/export_Rocq_HIGMAN/exporttheories.sh
new file mode 100755 (executable)
index 0000000..d192816
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+echo "Exporting theory $1";
+
+for i in HIGMAN/*.v
+ do
+  basename=$(basename $i | sed s/\\.v//)
+  cat $i | ../mktheory.pl "Rocq/HIGMAN/$basename" > \
+   examples/Rocq/HIGMAN/$basename.theory.xml
+ done
diff --git a/helm/EXPORT/export_Rocq_HIGMAN/prova_Rocq_HIGMAN.v b/helm/EXPORT/export_Rocq_HIGMAN/prova_Rocq_HIGMAN.v
new file mode 100644 (file)
index 0000000..9abc11a
--- /dev/null
@@ -0,0 +1,5 @@
+Require Export Xml.
+
+Require Higman.
+
+Print XML Module Disk "examples" Higman.