]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/binaries/transcript/types.ml
transcript: now we can generate procedural output
[helm.git] / helm / software / components / binaries / transcript / types.ml
index e51122b3f20e3aaa0788c4af47a123f373f72b0e..f0c8212bc47c3271c94045d895592f3a785aacbc 100644 (file)
  * http://cs.unibo.it/helm/.
  *)
 
+type local = bool
+
 type inline_kind = Con | Ind | Var
 
+type output_kind = Declarative | Procedural
+
+type source = string
+
+type prefix = string
+
 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)
+          | Coercion of (local * string)
+         | Notation of (local * string)
+         | Section of (local * string * string)
+         | Inline of (local * inline_kind * source * prefix)
           | Verbatim of string
          | Discard of string