]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_textual_parser/cicTextualParser0.ml
First commit towards more powerful disambiguation possibilities, where
[helm.git] / helm / ocaml / cic_textual_parser / cicTextualParser0.ml
index fab36396087cb41a1ab691e71a9c28f4d4d3a6fd..e75f61bd78212f2e97b4b61adeb380f0a9c9cf25 100644 (file)
@@ -32,9 +32,15 @@ type uri =
  | IndConUri of UriManager.uri * int * int
 ;;
 
-type interp_codomain =
+type interpretation_domain_item =
+   Id of string
+ | Symbol of string * (string * (interpretation -> Cic.term)) list
+and interpretation_codomain_item =
    Uri of uri
  | Implicit
+ | Term of (interpretation -> Cic.term)
+and interpretation =
+ interpretation_domain_item -> interpretation_codomain_item option
 ;;
 
 let binders = ref ([] : (Cic.name option) list);;