X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Flambda-delta%2Fsrc%2Fcommon%2Foptions.ml;fp=helm%2Fsoftware%2Flambda-delta%2Fsrc%2Fcommon%2Foptions.ml;h=0000000000000000000000000000000000000000;hb=95872555aaa040a22ad2d93cb1278f79e20da70c;hp=c133bed7c1ece2954816935b5c2bf63ae485ee51;hpb=4025c3f5b36025380dcad84bb7a97045d08652f6;p=helm.git diff --git a/helm/software/lambda-delta/src/common/options.ml b/helm/software/lambda-delta/src/common/options.ml deleted file mode 100644 index c133bed7c..000000000 --- a/helm/software/lambda-delta/src/common/options.ml +++ /dev/null @@ -1,61 +0,0 @@ -(* - ||M|| This file is part of HELM, an Hypertextual, Electronic - ||A|| Library of Mathematics, developed at the Computer Science - ||T|| Department, University of Bologna, Italy. - ||I|| - ||T|| HELM is free software; you can redistribute it and/or - ||A|| modify it under the terms of the GNU General Public License - \ / version 2 or (at your option) any later version. - \ / This software is distributed as is, NO WARRANTY. - V_______________________________________________________________ *) - -module C = Cps - -type uri_generator = string -> string - -type kernel = Crg | Brg | Bag - -(* interface functions ******************************************************) - -let xdir = ref "" - -let kernel = ref Brg - -let si = ref false (* use sort inclusion *) - -let cover = ref "" (* initial uri segment *) - -let cc = ref false (* activate conversion constraints *) - -let expand = ref false (* always expand global definitions *) - -let indexes = ref false (* show de Bruijn indexes *) - -let icm = ref 0 (* complexity measure of relocated terms *) - -let unquote = ref false (* do not quote identifiers when lexing *) - -let debug_parser = ref false (* output parser debug information *) - -let debug_lexer = ref false (* output lexer debug information *) - -let kernel_id () = - let id = match !kernel with - | Crg -> "crg" - | Brg -> "brg" - | Bag -> "bag" - in - let si = if !si then "-si" else "" in - id ^ si - -let get_baseuri () = - String.concat "/" ["ld:"; kernel_id (); !cover ] - -let get_mk_uri () = - let bu = get_baseuri () in - fun s -> bu ^ "/" ^ s ^ ".ld" - -let clear () = - xdir := ""; kernel := Brg; si := false; cover := ""; - expand := false; indexes := false; icm := 0; unquote := false; - debug_parser := false; debug_lexer := false