From: Claudio Sacerdoti Coen Date: Wed, 20 Dec 2000 15:12:38 +0000 (+0000) Subject: Initial X-Git-Tag: nogzip~83 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=eb2fea558b637b3ef8eacf3d9e7a6b28d1a3a3a3;p=helm.git Initial --- diff --git a/helm/EXPORT/export_Bordeaux_EXCEPTIONS/Makefile b/helm/EXPORT/export_Bordeaux_EXCEPTIONS/Makefile new file mode 100644 index 000000000..484f0972f --- /dev/null +++ b/helm/EXPORT/export_Bordeaux_EXCEPTIONS/Makefile @@ -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 index 000000000..532827348 --- /dev/null +++ b/helm/EXPORT/export_Bordeaux_EXCEPTIONS/exporttheories.sh @@ -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 index 000000000..07c14ef3d --- /dev/null +++ b/helm/EXPORT/export_Bordeaux_EXCEPTIONS/prova_Bordeaux_EXCEPTIONS.v @@ -0,0 +1,5 @@ +Require Export Xml. + +Require leavemult. + +Print XML Module Disk "examples" leavemult.