class type interpreter =
object
method reset: unit (** return the interpreter to the initial state *)
+
+ (** parse a single phrase contained in the input string. Additional
+ * garbage at the end of the phrase is ignored *)
method evalPhrase: string -> unit
+
+(*
+ (** eval zero or more phrases contained in the input string. Additional
+ * garbage contained at the end of the last phrase is ignored.
+ * @return offset from the beginning of the string pointing to the end of
+ * the last parsed phrase. Next invocations of evalAll should start from
+ * there *)
+ method evalAll: string -> int
+*)
end
(** {2 MathML widgets} *)