etc/settings
author blanchet
Mon May 19 23:43:53 2014 +0200 (2014-05-19)
changeset 57009 8cb6a5f1ae84
parent 56665 27778363775d
child 57439 0e41f26a0250
permissions -rw-r--r--
added SML implementation of MaSh
wenzelm@24211
     1
# -*- shell-script -*- :mode=shellscript:
wenzelm@2294
     2
#
wenzelm@54937
     3
# Isabelle system settings.
wenzelm@16875
     4
#
wenzelm@16875
     5
# Important notes:
wenzelm@47173
     6
#   * See the "system" manual for explanations on Isabelle settings
wenzelm@54937
     7
#   * User settings go into $ISABELLE_HOME_USER/etc/settings
wenzelm@16875
     8
#   * DO NOT EDIT the repository copy of this file!
wenzelm@54937
     9
#   * DO NOT COPY this file into the $ISABELLE_HOME_USER directory!
wenzelm@2309
    10
wenzelm@2426
    11
###
wenzelm@52790
    12
### Isabelle/Scala
wenzelm@27906
    13
###
wenzelm@27906
    14
wenzelm@56665
    15
ISABELLE_SCALA_BUILD_OPTIONS="-encoding UTF-8 -nowarn -target:jvm-1.7 -Xmax-classfile-name 130"
wenzelm@47009
    16
wenzelm@53346
    17
ISABELLE_JAVA_SYSTEM_OPTIONS="-Dfile.encoding=UTF-8 -server"
wenzelm@53346
    18
wenzelm@53577
    19
classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
wenzelm@53576
    20
wenzelm@54037
    21
#paranoia setting -- avoid problems of Java/Swing versus XIM/IBus etc.
wenzelm@54037
    22
unset XMODIFIERS
wenzelm@54037
    23
wenzelm@27906
    24
wenzelm@27906
    25
###
wenzelm@28504
    26
### Interactive sessions (cf. isabelle tty)
wenzelm@25627
    27
###
wenzelm@25627
    28
wenzelm@25627
    29
ISABELLE_LINE_EDITOR=""
wenzelm@26205
    30
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
wenzelm@25627
    31
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
wenzelm@25627
    32
wenzelm@25627
    33
wenzelm@25627
    34
###
wenzelm@52052
    35
### Batch sessions (cf. isabelle build)
wenzelm@2435
    36
###
wenzelm@2435
    37
wenzelm@48466
    38
ISABELLE_BUILD_OPTIONS=""
wenzelm@51977
    39
ISABELLE_BUILD_JAVA_OPTIONS="-Xmx1024m -Xss1m"
wenzelm@48466
    40
wenzelm@2435
    41
wenzelm@2435
    42
###
wenzelm@28504
    43
### Document preparation (cf. isabelle latex/document)
wenzelm@7773
    44
###
wenzelm@7773
    45
wenzelm@7773
    46
ISABELLE_LATEX="latex"
wenzelm@7773
    47
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
    48
ISABELLE_BIBTEX="bibtex"
kleing@14344
    49
ISABELLE_MAKEINDEX="makeindex"
wenzelm@11800
    50
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
    51
wenzelm@7773
    52
wenzelm@7773
    53
###
wenzelm@2968
    54
### Misc path settings
wenzelm@2426
    55
###
wenzelm@2294
    56
wenzelm@48840
    57
ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components"
wenzelm@48840
    58
wenzelm@2426
    59
# The place for user configuration, heap files, etc.
wenzelm@48553
    60
if [ -z "$ISABELLE_IDENTIFIER" ]; then
wenzelm@48449
    61
  ISABELLE_HOME_USER="$USER_HOME/.isabelle"
wenzelm@48449
    62
else
wenzelm@48449
    63
  ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
wenzelm@48449
    64
fi
wenzelm@2294
    65
wenzelm@3177
    66
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
    67
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
    68
wenzelm@4334
    69
# Location for temporary files (should be on a local file system).
wenzelm@9787
    70
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
    71
wenzelm@9787
    72
# Heap input locations. ML system identifier is included in lookup.
wenzelm@40387
    73
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
wenzelm@2780
    74
wenzelm@9787
    75
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@40387
    76
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
wenzelm@26212
    77
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
    78
wenzelm@16186
    79
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
    80
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
    81
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@32305
    82
ISABELLE_SITE_SETTINGS_PRESENT=true
wenzelm@9225
    83
kleing@13920
    84
kleing@13920
    85
###
wenzelm@28651
    86
### Default logic
kleing@13920
    87
###
wenzelm@16186
    88
wenzelm@3184
    89
ISABELLE_LOGIC=HOL
wenzelm@2294
    90
wenzelm@2786
    91
kleing@13920
    92
###
kleing@13920
    93
### Docs
kleing@13920
    94
###
wenzelm@2294
    95
wenzelm@16186
    96
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
    97
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
    98
wenzelm@56424
    99
ISABELLE_DOCS_RELEASE_NOTES="ANNOUNCE:README:NEWS:COPYRIGHT:CONTRIBUTORS:contrib/README:README_REPOSITORY"
wenzelm@56424
   100
ISABELLE_DOCS_EXAMPLES="src/HOL/ex/Seq.thy:src/HOL/ex/ML.thy:src/HOL/Unix/Unix.thy:src/HOL/Isar_Examples/Drinker.thy:src/Tools/SML/Examples.thy"
wenzelm@56424
   101
wenzelm@54685
   102
# "open" within desktop environment (potentially asynchronous)
wenzelm@50197
   103
case "$ISABELLE_PLATFORM_FAMILY" in
wenzelm@50197
   104
  linux)
wenzelm@54685
   105
    ISABELLE_OPEN="xdg-open"
wenzelm@50197
   106
    ;;
wenzelm@50197
   107
  macos)
wenzelm@54685
   108
    ISABELLE_OPEN="open"
wenzelm@50197
   109
    ;;
wenzelm@50197
   110
  windows)
wenzelm@54685
   111
    ISABELLE_OPEN="cygstart"
wenzelm@50197
   112
    ;;
wenzelm@50197
   113
esac
wenzelm@50197
   114
wenzelm@54685
   115
PDF_VIEWER="$ISABELLE_OPEN"
wenzelm@54685
   116
DVI_VIEWER="$ISABELLE_OPEN"
wenzelm@2345
   117
kleing@15218
   118
wenzelm@2426
   119
###
wenzelm@37058
   120
### Rendering information
wenzelm@37058
   121
###
wenzelm@37058
   122
wenzelm@43484
   123
ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
wenzelm@37058
   124
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
wenzelm@37058
   125
wenzelm@37058
   126
wenzelm@37058
   127
###
wenzelm@49000
   128
### Misc old-style settings
wenzelm@7185
   129
###
wenzelm@7185
   130
wenzelm@49000
   131
# Standard ML of New Jersey (slow!)
wenzelm@49000
   132
#ML_SYSTEM=smlnj-110
wenzelm@49000
   133
#ML_HOME="/usr/local/smlnj/bin"
wenzelm@49000
   134
#ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024"
wenzelm@49000
   135
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@49000
   136
#SMLNJ_CYGWIN_RUNTIME=1
wenzelm@49000
   137
wenzelm@41968
   138
# Misc programming languages
wenzelm@48187
   139
#ISABELLE_GHC="/usr/bin/ghc"
wenzelm@48187
   140
#ISABELLE_OCAML="/usr/bin/ocaml"
wenzelm@48187
   141
#ISABELLE_SWIPL="/usr/bin/swipl"