(* *)
(******************************************************************************)
-val str_uref : MathQL.mquref -> string (* string linearization of a UriManager reference *)
-val str_tref : MathQL.mqtref -> string (* string linearization of a tokenized reference *)
+val text_of_query : MathQL.query -> string
-val out_query : MathQL.mquery -> string (* HTML representation of a query *)
+val text_of_result : MathQL.result -> string -> string
-val tref_uref : MathQL.mquref -> MathQL.mqtref (* "tref of uref" conversion *)
+val query_of_text : Lexing.lexbuf -> MathQL.query
+
+val result_of_text : Lexing.lexbuf -> MathQL.result
+
+
+type uriref = UriManager.uri * (int list)
+
+val string_of_uriref : uriref -> string
-val parse_text : in_channel -> MathQL.mquery (* textual parsing of a query *)