etc/options
author wenzelm
Sat May 18 12:41:31 2013 +0200 (2013-05-18)
changeset 52065 78f2475aa126
parent 52043 286629271d65
child 52488 cd65ee49a8ba
permissions -rw-r--r--
explicit notion of public options, which are shown in the editor options dialog;
avoid hard-wired stuff;
     1 (* :mode=isabelle-options: *)
     2 
     3 section "Document Preparation"
     4 
     5 option browser_info : bool = false
     6   -- "generate theory browser information"
     7 
     8 option document : string = ""
     9   -- "build document in given format: pdf, dvi, dvi.gz, ps, ps.gz, or false"
    10 option document_output : string = ""
    11   -- "document output directory (default within $ISABELLE_BROWSER_INFO tree)"
    12 option document_variants : string = "document"
    13   -- "option alternative document variants (separated by colons)"
    14 option document_graph : bool = false
    15   -- "generate session graph image for document"
    16 
    17 option thy_output_display : bool = false
    18   -- "indicate output as multi-line display-style material"
    19 option thy_output_break : bool = false
    20   -- "control line breaks in non-display material"
    21 option thy_output_quotes : bool = false
    22   -- "indicate if the output should be enclosed in double quotes"
    23 option thy_output_indent : int = 0
    24   -- "indentation for pretty printing of display material"
    25 option thy_output_source : bool = false
    26   -- "print original source text rather than internal representation"
    27 option thy_output_modes : string = ""
    28   -- "additional print modes for document output (separated by commas)"
    29 
    30 
    31 section "Prover Output"
    32 
    33 option show_types : bool = false
    34   -- "show type constraints when printing terms"
    35 option show_sorts : bool = false
    36   -- "show sort constraints when printing types"
    37 option show_brackets : bool = false
    38   -- "show extra brackets when printing terms/types"
    39 option show_question_marks : bool = true
    40   -- "show leading question mark of schematic variables"
    41 
    42 option show_consts : bool = false
    43   -- "show constants with types when printing proof state"
    44 option show_main_goal : bool = false
    45   -- "show main goal when printing proof state"
    46 option goals_limit : int = 10
    47   -- "maximum number of subgoals to be printed"
    48 
    49 option names_long : bool = false
    50   -- "show fully qualified names"
    51 option names_short : bool = false
    52   -- "show base names only"
    53 option names_unique : bool = true
    54   -- "show partially qualified names, as required for unique name resolution"
    55 
    56 option eta_contract : bool = true
    57   -- "print terms in eta-contracted form"
    58 
    59 option pretty_margin : int = 76
    60   -- "right margin / page width of pretty printer in Isabelle/ML"
    61 
    62 option print_mode : string = ""
    63   -- "additional print modes for prover output (separated by commas)"
    64 
    65 
    66 section "Parallel Checking"
    67 
    68 public option threads : int = 0
    69   -- "maximum number of worker threads for prover process (0 = hardware max.)"
    70 public option threads_trace : int = 0
    71   -- "level of tracing information for multithreading"
    72 public option parallel_proofs : int = 2
    73   -- "level of parallel proof checking: 0, 1, 2"
    74 public option parallel_subproofs_saturation : int = 100
    75   -- "upper bound for forks of nested proofs (multiplied by worker threads)"
    76 public option parallel_subproofs_threshold : real = 0.01
    77   -- "lower bound of timing estimate for forked nested proofs (seconds)"
    78 
    79 
    80 section "Detail of Proof Recording"
    81 
    82 option proofs : int = 1
    83   -- "level of detail for proof objects: 0, 1, 2"
    84 option quick_and_dirty : bool = false
    85   -- "if true then some tools will OMIT some proofs"
    86 option skip_proofs : bool = false
    87   -- "skip over proofs (implicit 'sorry')"
    88 
    89 
    90 section "Global Session Parameters"
    91 
    92 option condition : string = ""
    93   -- "required environment variables for subsequent theories (separated by commas)"
    94 
    95 option timing : bool = false
    96   -- "global timing of toplevel command execution and theory processing"
    97 
    98 option timeout : real = 0
    99   -- "timeout for session build job (seconds > 0)"
   100 
   101 option process_output_limit : int = 100
   102   -- "build process output limit in million characters (0 = unlimited)"
   103 
   104 
   105 section "Editor Reactivity"
   106 
   107 public option editor_skip_proofs : bool = false
   108   -- "skip over proofs (implicit 'sorry')"
   109 
   110 public option editor_load_delay : real = 0.5
   111   -- "delay for file load operations (new buffers etc.)"
   112 
   113 public option editor_input_delay : real = 0.3
   114   -- "delay for user input (text edits, cursor movement etc.)"
   115 
   116 public option editor_output_delay : real = 0.1
   117   -- "delay for prover output (markup, common messages etc.)"
   118 
   119 public option editor_update_delay : real = 0.5
   120   -- "delay for physical GUI updates"
   121 
   122 public option editor_reparse_limit : int = 10000
   123   -- "maximum amount of reparsed text outside perspective"
   124 
   125 public option editor_tracing_messages : int = 1000
   126   -- "initial number of tracing messages for each command transaction"
   127 
   128 public option editor_chart_delay : real = 3.0
   129   -- "delay for chart repainting"