]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/binaries/transcript/types.ml
fixed parsing
[helm.git] / helm / software / components / binaries / transcript / types.ml
index e51122b3f20e3aaa0788c4af47a123f373f72b0e..1fa7971b761bdccb0596eb6b27d973add38a3993 100644 (file)
  * http://cs.unibo.it/helm/.
  *)
 
+type local = bool
+
 type inline_kind = Con | Ind | Var
 
+type input_kind = Gallina8 | Grafite of string
+
+type output_kind = Declarative | Procedural
+
+type source = string
+
+type prefix = string
+
+type flavour = Cic.object_flavour option
+
+type params = GrafiteAst.inline_param list
+
 type item = Heading of (string * int)
           | Line of string
          | Comment of string
           | Unexport of string
-          | BaseUri of string
-         | Include of string
-          | Coercion of string
-         | Notation of string
-         | Inline of (inline_kind * string)
+         | Include of (bool * string)
+          | Coercion of (local * string)
+         | Notation of (local * string)
+         | Section of (local * string * string)
+         | Inline of (local * inline_kind * source * prefix * flavour * params)
           | Verbatim of string
          | Discard of string