open TacticAst
+let tactical_terminator = "."
+let tactical_separator = ";"
+
let pp_term term = CicAstPp.pp_term term
let pp_idents idents = "[" ^ String.concat "; " idents ^ "]"
| Fourier -> "fourier"
| Hint -> "hint"
| Injection ident -> "injection " ^ ident
+ | Intros (None, []) -> "intro"
| Intros (num, idents) ->
sprintf "intros%s%s"
(match num with None -> "" | Some num -> " " ^ string_of_int num)
| Tries tacs -> sprintf "tries [%s]" (pp_tacticals tacs)
| Try tac -> "try " ^ pp_tactical tac
-and pp_tacticals tacs = String.concat "; " (List.map pp_tactical tacs)
+and pp_tacticals tacs =
+ String.concat (tactical_separator ^ " ") (List.map pp_tactical tacs)
-let pp_tactical tac = pp_tactical tac ^ "."
+let pp_tactical tac = pp_tactical tac ^ tactical_terminator