From: Claudio Sacerdoti Coen Date: Thu, 7 Dec 2000 18:17:47 +0000 (+0000) Subject: Another contribution. But this one does not work X-Git-Tag: nogzip~101 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=b553fcede2e5173922ebb86abf1661422ac567d5;p=helm.git Another contribution. But this one does not work (the XML module crashes). Bug reported to Hugo. --- diff --git a/helm/EXPORT/export_Rocq_HIGMAN/Makefile b/helm/EXPORT/export_Rocq_HIGMAN/Makefile new file mode 100644 index 000000000..0aaabeeec --- /dev/null +++ b/helm/EXPORT/export_Rocq_HIGMAN/Makefile @@ -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 index 000000000..d19281688 --- /dev/null +++ b/helm/EXPORT/export_Rocq_HIGMAN/exporttheories.sh @@ -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 index 000000000..9abc11a52 --- /dev/null +++ b/helm/EXPORT/export_Rocq_HIGMAN/prova_Rocq_HIGMAN.v @@ -0,0 +1,5 @@ +Require Export Xml. + +Require Higman. + +Print XML Module Disk "examples" Higman.