Skip to content

Instantly share code, notes, and snippets.

@ppedrot
Created July 18, 2022 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ppedrot/a68529fc3ed73b0392064ce707280e02 to your computer and use it in GitHub Desktop.
Save ppedrot/a68529fc3ed73b0392064ce707280e02 to your computer and use it in GitHub Desktop.
*
* gallina May 20 1994 (Jean-Christophe Filliatre)
*
SYNOPSIS
gallina [-] [-stdout] file1 file2 ...
DESCRIPTION
gallina takes a Coq file (foo.v) and builds the corresponding
specification file (foo.g). '.g' stands for Gallina.
For that purpose, gallina removes all commands that follow
"Theorem <...>.", "Lemma <...>." or "Remark <...>." until
it reaches a command "Abort.", "Save." or "Proof <...>.",
and every command "Hint ...", "Syntax ...", "Immediate ..."
or "Transparent ...".
One can give a list of files as argument. Files without the .v
suffix are ignored.
OPTIONS
-stdout
Prints the result on standard output.
- Coq source is taken on standard input. The result is given on
standard output.
CHARACTERISTICS
The (nested) comments are correctly handled. In particular,
every command "Save." or "Abort." in a comment is NOT taken into
account.
BUGS
Please report any bug to:
coq@pauillac.inria.fr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment