Debian Codegraph @

dev/doc/rocq-src-description.txt

raw
1 Rocq main source components (in link order)
2 -------------------------------------------
3
4 clib : Basic files in lib/, such as util.ml
5 lib : Other files in lib/
6 kernel
7 library
8 pretyping
9 interp
10 proofs
11 printing
12 parsing
13 tactics
14 toplevel
15
16 Special components
17 ------------------
18
19 grammar :
20
21 Camlp5 syntax extensions. The file grammar/grammar.cma is used
22 to pre-process .mlg files containing EXTEND constructions,
23 either TACTIC EXTEND, ARGUMENTS EXTEND or VERNAC ... EXTEND.
24 This grammar.cma incorporates many files from other directories
25 (mainly parsing/), plus some specific files in grammar/.
26 The other syntax extension grammar/q_constr.cmo is a addition to
27 grammar.cma with a constr PATTERN quotation.
28
29
30 Hierarchy of A.S.T.
31 -------------------
32
33 *** Terms ***
34
35 ... ...
36 | /\
37 parsing | | printing
38 | |
39 V |
40 Constrexpr.constr_expr
41 | /\
42 constrintern | | constrextern
43 (in interp) | | (in interp)
44 globalization | |
45 V |
46 Glob_term.glob_constr
47 | /\
48 pretyping | | detyping
49 | | (in pretyping)
50 V |
51 Term.constr
52 | /\
53 safe_typing | |
54 (validation | |
55 by kernel) |______|
56
57
58 *** Patterns ***
59
60 |
61 | parsing
62 V
63 constr_pattern_expr = constr_expr
64 |
65 | Constrintern.interp_constr_pattern (in interp)
66 | reverse way in Constrextern
67 V
68 Pattern.constr_pattern
69 |
70 ---> used for instance by Matching.matches (in pretyping)
71
72
73 *** Notations ***
74
75
76 Notation_term.notation_constr
77
78 Conversion from/to glob_constr in Notation_ops
79
80 TODO...
81
82
83 *** Tactics ***
84
85 |
86 | parsing
87 V
88 Tacexpr.raw_tactic_expr
89 |
90 | Tacinterp.intern_pure_tactic (?)
91 V
92 Tacexpr.glob_tactic_expr
93 |
94 | Tacinterp.eval_tactic (?)
95 V
96 unit Proofview.tactic
97
98 TODO: check with Hugo
99
100
101 *** Vernac expressions ***
102
103 Vernacexpr.vernac_expr, produced by parsing, used in Vernacentries and Vernac