| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 
 | .TH COQ 1 "29 March 1995" "Coq tools"
.SH NAME
gallina \- extracts specification from Coq vernacular files
.SH SYNOPSIS
.B gallina
[
.BI \-
]
[
.BI \-stdout
]
[
.BI \-nocomments
]
.I file ...
.SH DESCRIPTION
.B gallina 
takes Coq files as arguments and builds the corresponding
specification files.
The Coq file
.IR foo.v \&
gives bearth to the specification file
.IR foo.g. \&
The suffix '.g' stands for Gallina.
For that purpose, gallina removes all commands that follow a
"Theorem", "Lemma", "Fact", "Remark" or "Goal" statement until it
reaches a command "Abort.", "Save.", "Qed.", "Defined." or "Proof
<...>.". It also removes every "Hint", "Syntax",
"Immediate"  or "Transparent" command.
Files without the .v suffix are ignored.
.SH OPTIONS
.TP
.BI \-stdout
Prints the result on standard output.
.TP
.BI \-
Coq source is taken on standard input. The result is printed on
standard output.
.TP
.BI \-nocomments
Comments are removed in the *.g file.
.SH NOTES
Nested comments are correctly handled. In particular, every command
"Save." or "Abort." in a comment is not taken into account.
.SH BUGS
Please report any bug to
.B coq@pauillac.inria.fr
	
	
	
	
 |