X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_notation%2FgrafiteAst.ml;h=45f7c1aea7882afbb31bf08374cc27d45dd5f1b1;hb=ed7711935c7377ea8785a9f3b85984785b92030e;hp=f7e953b8cb87f71863555982db2dfcd28b1b268d;hpb=d1126c6b78a3333bbf415daf027004496b77c2f4;p=helm.git diff --git a/helm/ocaml/cic_notation/grafiteAst.ml b/helm/ocaml/cic_notation/grafiteAst.ml index f7e953b8c..45f7c1aea 100644 --- a/helm/ocaml/cic_notation/grafiteAst.ml +++ b/helm/ocaml/cic_notation/grafiteAst.ml @@ -134,6 +134,7 @@ type obj = *) | Record of (string * Ast.term) list * string * Ast.term * (string * Ast.term) list + (** left parameters, name, type, fields *) type ('term,'obj) command = | Default of loc * string * UriManager.uri list @@ -161,6 +162,17 @@ type ('term,'obj) command = (* DEBUGGING *) | Render of loc * UriManager.uri (* render library object *) +let reash_uris = + function + | Default (loc, name, uris) -> + let uris = + List.map + (fun uri -> UriManager.uri_of_string (UriManager.string_of_uri uri)) + uris + in + Default (loc, name, uris) + | cmd -> cmd + type ('term, 'lazy_term, 'reduction, 'ident) tactical = | Tactic of loc * ('term, 'lazy_term, 'reduction, 'ident) tactic | Do of loc * int * ('term, 'lazy_term, 'reduction, 'ident) tactical @@ -189,3 +201,9 @@ type ('term, 'lazy_term, 'reduction, 'obj, 'ident) statement = | Executable of loc * ('term, 'lazy_term, 'reduction, 'obj, 'ident) code | Comment of loc * ('term, 'lazy_term, 'reduction, 'obj, 'ident) comment + (* statements meaningful for matitadep *) +type dependency = + | IncludeDep of string + | BaseuriDep of string + | UriDep of UriManager.uri +