(* $Id$ *)
+let out = ref ignore
+
+let set_callback f = out := f
+
(* lexicon file name * ma file name *)
exception IncludedFileNotCompiled of string * string
exception MetadataNotFound of string (* file name *)
let rec eval_command ?(mode=LexiconAst.WithPreferences) status cmd =
+ !out cmd;
let notation_ids' = CicNotation.process_notation cmd in
let status =
{ status with notation_ids = notation_ids' @ status.notation_ids } in