diff options
| author | bertot | 2001-04-18 07:03:26 +0000 |
|---|---|---|
| committer | bertot | 2001-04-18 07:03:26 +0000 |
| commit | b9d7d302a186e2bb6766708a9802f058724ea0fb (patch) | |
| tree | 99d2b10f2a7b79f52c8ff1c3d4b6d2a2550dfccc /contrib/interface/vtp.ml | |
| parent | a887ce2613b9d223fa7d193a6e8b851f02cad988 (diff) | |
Adding files for the production of textual explanations as used in pcoq.
dependence files are updated accordingly.
Modifications in other files to cope with a few errors in the translation for
the parser (mostly around records, coercions, and the search-pattern command).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1599 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'contrib/interface/vtp.ml')
| -rw-r--r-- | contrib/interface/vtp.ml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/contrib/interface/vtp.ml b/contrib/interface/vtp.ml index 79d4d68ad4..e35b9d3bcc 100644 --- a/contrib/interface/vtp.ml +++ b/contrib/interface/vtp.ml @@ -336,6 +336,14 @@ and fCOMMAND = function fID x1; fIN_OR_OUT_MODULES x2; fNODE "search" 2 +| CT_search_pattern(x1, x2) -> + fFORMULA x1; + fIN_OR_OUT_MODULES x2; + fNODE "search_pattern" 2 +| CT_search_rewrite(x1, x2) -> + fFORMULA x1; + fIN_OR_OUT_MODULES x2; + fNODE "search_rewrite" 2 | CT_section_end(x1) -> fID x1; fNODE "section_end" 1 @@ -1216,6 +1224,26 @@ and fTARG_LIST = function | CT_targ_list l -> (List.iter fTARG l); fNODE "targ_list" (List.length l) +and fTEXT = function +| CT_coerce_ID_to_TEXT x -> fID x +| CT_text_formula(x1) -> + fFORMULA x1; + fNODE "text_formula" 1 +| CT_text_h l -> + (List.iter fTEXT l); + fNODE "text_h" (List.length l) +| CT_text_hv l -> + (List.iter fTEXT l); + fNODE "text_hv" (List.length l) +| CT_text_op l -> + (List.iter fTEXT l); + fNODE "text_op" (List.length l) +| CT_text_path(x1) -> + fSIGNED_INT_LIST x1; + fNODE "text_path" 1 +| CT_text_v l -> + (List.iter fTEXT l); + fNODE "text_v" (List.length l) and fTHEOREM_GOAL = function | CT_goal(x1) -> fFORMULA x1; |
