module BU = BrgUntrusted
module BG = BrgGrafite
module BA = BrgGallina
-module BP = BrgELPI
+module BP = BrgLP
module ZD = BagCrg
module ZO = BagOutput
module ZT = BagType
if !G.trace >= 2 then begin preprocess := true; G.summary := true end
in
let set_manager s = match KS.lowercase s with
- | "v8" -> G.manager := G.Coq
- | "ma2" -> G.manager := G.Matita
- | "elpi1" -> G.manager := G.ELPI1
- | "elpi2" -> G.manager := G.ELPI2
- | s -> L.warn level (KP.sprintf "Unknown manager: %s" s)
+ | "v8" -> G.manager := G.Coq
+ | "ma2" -> G.manager := G.Matita
+ | "lp1" -> G.manager := G.LP1
+ | "lp2" -> G.manager := G.LP2
+ | "tj2" -> G.manager := G.TJ2
+ | "tj3" -> G.manager := G.TJ3
+ | s -> L.warn level (KP.sprintf "Unknown manager: %s" s)
in
let clear_options () =
export := false; preprocess := false;
begin match !G.manager with
| G.Coq -> st := {!st with mst = Some (BA.open_out base_name)}
| G.Matita -> st := {!st with mst = Some (BG.open_out base_name)}
- | G.ELPI1 -> st := {!st with mst = Some (BP.open_out_1 base_name)}
- | G.ELPI2 -> st := {!st with mst = Some (BP.open_out_2 base_name)}
+ | G.LP1 -> st := {!st with mst = Some (BP.open_out_lp1 base_name)}
+ | G.LP2 -> st := {!st with mst = Some (BP.open_out_lp2 base_name)}
+ | G.TJ2 -> st := {!st with mst = Some (BP.open_out_tj2 base_name)}
+ | G.TJ3 -> st := {!st with mst = Some (BP.open_out_tj3 base_name)}
| G.Quiet -> ()
end;
P.clear_marks ();
" 4 typing information, 5 conversion information, 6 reduction information,\n" ^
" 7 level disambiguation\n\n" ^
"Stages: 0 parsing, 1 to intermediate, 2 to untrusted, 3 to trusted (default)\n\n" ^
- "Supported manages: \"ma2\" (Grafite NG), \"v8\" (Gallina 8), \"elpi1\" \"elpi2\" (lambda-Prolog)\n"
+ "Supported manages: \"ma2\" (Grafite NG), \"v8\" (Gallina 8), \"lp1\" \"lp2\" \"tj2\" (lambda-Prolog)\n"
in
let help_L = " [lexer] Show lexer debug information" in
let help_M = "<dir> [manager] Set location of output directory (manager) to <dir> (default: current directory)" in