-
Notifications
You must be signed in to change notification settings - Fork 89
/
README
69 lines (43 loc) · 2.18 KB
/
README
1
2
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
Coq Proof General
Originally written by Healfdene Goguen.
Later contributions by Patrick Loiseleur, Pierre Courtieu,
David Aspinall, Stefan Monier, Hendrik Tews
Status: supported
Maintainer: Pierre Courtieu
Coq version: 8.5
Coq homepage: http://coq.inria.fr/
===========================================================================
Coq Proof General has support for Unicode Tokens, using simple character
sequences rather than a special language of tokens. See notes below.
There is a tags program, coqtags.
===========================================================================
Installation notes:
Check the values of coq-tags and coq-prog-name in coq.el to see that
they correspond to the paths for coqtop and the library on your system.
Install coqtags in a standard place or add <proof-home>/coq to your PATH.
NB: You may need to change the path to perl at the top of the file.
Generate a TAGS file for the library by running
coqtags `find . -name \*.v -print`
in the root directory of the library, $COQTOP/theories.
===========================================================================
Grammar for Unicode Tokens:
Symbols include sequences naming Greek letters ("Lambda", "lambda", etc),
connectives /\, \/, etc. See the token list (Unicode Tokens -> List Tokens)
for tokens availabe --- these are just a sample set and you can add your own.
See coq-unicode-tokens.el for the tables and further instructions.
a symbol is encoded only if
- preceded by _ or ' or some space or some symbol
**and**
- followed by _ or ' or some space or some symbol
Grammar for sub/superscript:
- a double _ introduces a subscript that ends at the first space
- a double ^ introduces a superscript that ends at the first space
- a , followed by { introduces a subscript expression that ends at
the first } (_{...} was not possible due to coq notation mechanism)
- a ^ followed by { introduces a superscript expression that ends
at the first }
See example-tokens.v in this directory for examples.
Please suggest any extensions/improvements on Trac, at
http://proofgeneral.inf.ed.ac.uk/trac/
========================================
$Id$