2112
|
1 |
(* Compile the TFL system *)
|
|
2 |
|
|
3 |
(* Portability stuff *)
|
|
4 |
nonfix prefix;
|
|
5 |
use"mask.sig";
|
|
6 |
use"mask.sml";
|
|
7 |
|
|
8 |
(* Establish a base of common and/or helpful functions. *)
|
|
9 |
use "utils.sig";
|
|
10 |
use "utils.sml";
|
|
11 |
|
|
12 |
(* Get the specifications - these are independent of any system *)
|
|
13 |
use "usyntax.sig";
|
|
14 |
use "rules.sig";
|
|
15 |
use "thry.sig";
|
|
16 |
use "thms.sig";
|
|
17 |
use "tfl.sig";
|
|
18 |
|
|
19 |
(*----------------------------------------------------------------------------
|
|
20 |
* Load the TFL functor - this is defined totally in terms of the
|
|
21 |
* above interfaces.
|
|
22 |
*---------------------------------------------------------------------------*)
|
|
23 |
|
|
24 |
use "tfl.sml";
|
|
25 |
|
|
26 |
structure Utils = UTILS(val int_to_string = string_of_int);
|
|
27 |
|
|
28 |
(*----------------------------------------------------------------------------
|
|
29 |
* Supply implementations
|
|
30 |
*---------------------------------------------------------------------------*)
|
|
31 |
|
|
32 |
val _ = use_thy"WF1"; (* Wellfoundedness theory *)
|
|
33 |
|
|
34 |
use "usyntax.sml";
|
|
35 |
use "thms.sml";
|
|
36 |
use"dcterm.sml"; use"rules.new.sml";
|
|
37 |
use "thry.sml";
|
|
38 |
|
|
39 |
|
|
40 |
(*----------------------------------------------------------------------------
|
|
41 |
* Link system and specialize for Isabelle
|
|
42 |
*---------------------------------------------------------------------------*)
|
|
43 |
structure Prim = TFL(structure Rules = FastRules
|
|
44 |
structure Thms = Thms
|
|
45 |
structure Thry = Thry);
|
|
46 |
|
|
47 |
use"post.sml";
|
|
48 |
|