module O = Output
module Y = Entity
module X = Library
+module AL = AutLexer
module AP = AutProcess
module AO = AutOutput
module DA = CrgAut
brgc = BrgO.initial_counters;
bagc = BagO.initial_counters;
mst = MA.initial_status ~cover ();
- dst = DA.initial_status (mk_uri cover);
+ dst = DA.initial_status (mk_uri si cover);
ast = AP.initial_status;
kst = Y.initial_status g expand si
}
let main =
try
- let version_string = "Helena 0.8.1 M - December 2009" in
+ let version_string = "Helena 0.8.1 M - January 2010" in
let set_hierarchy s =
let err () = L.warn (P.sprintf "Unknown type hierarchy: %s" s) in
let f g = graph := g in
let f och = moch := Some och in
ML.open_out f name
in
+ let unquote () =
+ AL.unquote := true
+ in
let close = function
| None -> ()
| Some och -> ML.close_out C.start och
flush_all ()
in
let help =
- "Usage: helena [ -Vcgijmopux | -Ss <number> | -hk <string> ] <file> ...\n\n" ^
+ "Usage: helena [ -Vcgijmopqrux | -Ss <number> | -hk <string> ] <file> ...\n\n" ^
"Summary levels: 0 just errors (default), 1 time stamps, 2 processed file names, \
3 data information, 4 typing information, 5 reduction information\n\n" ^
"Stages: 0 parsing, 1 to intermediate, 2 to untrusted, 3 to trusted (default)\n"
let help_m = " output intermediate representation (HAL)" in
let help_o = " use old abstract language instead of crg" in
let help_p = " preprocess Automath source" in
+ let help_q = " disable quotation of identifiers" in
let help_r = " disable initial segment of URI hierarchy" in
let help_s = "<number> set translation stage (see above)" in
let help_u = " activate sort inclusion" in
("-m", Arg.Set meta, help_m);
("-o", Arg.Set old, help_o);
("-p", Arg.Set preprocess, help_p);
+ ("-q", Arg.Unit unquote, help_q);
("-r", Arg.Clear use_cover, help_r);
("-s", Arg.Int set_stage, help_s);
("-u", Arg.Set si, help_u);