src/Tools/isac/Build_Isac.thy
author Walther Neuper <neuper@ist.tugraz.at>
Mon, 13 Sep 2010 18:12:15 +0200
branchisac-update-Isa09-2
changeset 38007 d679c1f837a7
parent 38006 16d56796f5a0
child 38008 79b6cbd02681
permissions -rw-r--r--
ref --> Unsynchronized.ref tuned.

there are differences in compiling via (1) Build_Isac.thy and via (2) ROOT.ML:
# (1) still accepts ref, while (2) requires Unsynchronized.ref
# (2) is more rigid in type checking (eg. "can't find a fixed record type")
     1 (*  Title:   ~~~/isac/Isac_Mathengine.thy
     2     Author: Walther Neuper, TU Graz
     3 
     4 $ cd /usr/local/Isabelle2009-1/src/Tools/isac
     5 $ /usr/local/isabisac/bin/isabelle emacs Build_Isac.thy &
     6 $ /usr/local/isabisac/bin/isabelle jedit Build_Isac.thy &
     7 
     8 12345678901234567890123456789012345678901234567890123456789012345678901234567890
     9         10        20        30        40        50        60        70        80
    10 *)
    11 
    12 header {* Loading the isac mathengine *}
    13 
    14 theory Build_Isac
    15 imports Complex_Main "ProgLang/Language" 
    16 begin
    17 
    18 ML {* 
    19 writeln "**** build the isac kernel = math-engine + Knowledge ***********";
    20 writeln "**** build the math-engine *************************************" *}
    21 
    22 ML {* Toplevel.debug := true; *}
    23 use "library.sml"
    24 use "calcelems.sml"
    25 ML {* check_guhs_unique := true *}
    26 
    27 use "ProgLang/term.sml"
    28 use "ProgLang/calculate.sml"
    29 use "ProgLang/rewrite.sml"
    30 use_thy"ProgLang/Script" (*ListC, Tools, Script*)
    31 use "ProgLang/scrtools.sml"
    32 use_thy"ProgLang/Language"
    33 
    34 use "Interpret/mstools.sml"
    35 use "Interpret/ctree.sml"
    36 use "Interpret/ptyps.sml"
    37 use "Interpret/generate.sml"
    38 use "Interpret/calchead.sml"
    39 use "Interpret/appl.sml"
    40 use "Interpret/rewtools.sml"
    41 use "Interpret/script.sml"
    42 use "Interpret/solve.sml"
    43 use "Interpret/inform.sml"
    44 use "Interpret/mathengine.sml"
    45 
    46 use "xmlsrc/mathml.sml"
    47 use "xmlsrc/datatypes.sml"
    48 use "xmlsrc/pbl-met-hierarchy.sml"
    49 use "xmlsrc/thy-hierarchy.sml" 
    50 use "xmlsrc/interface-xml.sml"
    51 
    52 use "Frontend/messages.sml"
    53 use "Frontend/states.sml"
    54 use "Frontend/interface.sml"
    55 
    56 use "print_exn_G.sml"
    57 ML {* writeln "**** build math-engine complete **************************" *}
    58 
    59 ML {* writeln "**** build the Knowledge *********************************" *}
    60 (*use_thy "Knowledge/Delete"
    61   use_thy "Knowledge/Descript"
    62   use_thy "Knowledge/Atools"
    63   use_thy "Knowledge/Simplify"
    64   use_thy "Knowledge/Poly"
    65   use_thy "Knowledge/Rational"
    66   use_thy "Knowledge/PolyMinus"
    67   use_thy "Knowledge/Equation"
    68   use_thy "Knowledge/LinEq"
    69   use_thy "Knowledge/Root"
    70   use_thy "Knowledge/RootEq"
    71   use_thy "Knowledge/RatEq"
    72   use_thy "Knowledge/RootRat"
    73   use_thy "Knowledge/RootRatEq"
    74   use_thy "Knowledge/PolyEq"
    75   use_thy "Knowledge/Vect"
    76   use_thy "Knowledge/Calculus"
    77   use_thy "Knowledge/Trig"
    78   use_thy "Knowledge/LogExp"
    79   use_thy "Knowledge/Diff"
    80   use_thy "Knowledge/DiffApp"
    81   use_thy "Knowledge/Integrate"
    82   use_thy "Knowledge/EqSystem"
    83   use_thy "Knowledge/Biegelinie"
    84   use_thy "Knowledge/AlgEin"
    85   use_thy "Knowledge/Test"
    86 *)
    87 use_thy "Knowledge/Isac"
    88 
    89 end
    90