src/Pure/ProofGeneral/pgip_standalone.ML
author wenzelm
Fri, 27 Jul 2007 21:55:20 +0200
changeset 24010 2ef318813e1a
parent 23629 8a0cbe8f0566
permissions -rw-r--r--
method section scanners: added [[declaration]] syntax, ignore sid-effects of thms;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
21997
6e3a0b25cda5 run as RAW session;
wenzelm
parents: 21974
diff changeset
     1
(*  Title:      Pure/ProofGeneral/pgip_standalone.ML
21974
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
     2
    ID:         $Id$
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
     3
    Author:     David Aspinall
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
     4
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
     5
   This file allows a standalone build of the PGIP abstraction module.
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
     6
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
     7
   This should be useful for building other tools, or as an aid to porting.
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
     8
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
     9
   A lot of Isabelle library code is pulled in, but only a few
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    10
   functions are actually used, and the libraries indicated "used
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    11
   directly" below could be replaced with other implementations.
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    12
*)
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    13
21997
6e3a0b25cda5 run as RAW session;
wenzelm
parents: 21974
diff changeset
    14
(* The required parts of Isabelle libraries *)
21974
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    15
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    16
use "General/basics.ML";
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    17
use "library.ML";
23629
8a0cbe8f0566 depend on alist.ML, markup.ML;
wenzelm
parents: 23620
diff changeset
    18
use "General/alist.ML";
8a0cbe8f0566 depend on alist.ML, markup.ML;
wenzelm
parents: 23620
diff changeset
    19
use "General/markup.ML";
21974
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    20
use "General/position.ML";
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    21
use "General/path.ML";     (* used directly *)
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    22
use "General/table.ML";
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    23
use "General/alist.ML";
22589
18735b5fef26 added print_mode;
wenzelm
parents: 22010
diff changeset
    24
18735b5fef26 added print_mode;
wenzelm
parents: 22010
diff changeset
    25
val print_mode = ref ([]: string list);
18735b5fef26 added print_mode;
wenzelm
parents: 22010
diff changeset
    26
fun print_mode_active s = member (op =) (! print_mode) s;
18735b5fef26 added print_mode;
wenzelm
parents: 22010
diff changeset
    27
21974
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    28
use "General/output.ML";
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    29
use "General/scan.ML";
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    30
use "General/source.ML";
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    31
use "General/file.ML";     (* used directly *)
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    32
use "General/buffer.ML";
21997
6e3a0b25cda5 run as RAW session;
wenzelm
parents: 21974
diff changeset
    33
use "General/symbol.ML";
21974
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    34
use "General/url.ML";      (* used directly *)
23620
55ef4d0bc250 moved General/xml.ML to Tools/xml.ML;
wenzelm
parents: 22589
diff changeset
    35
use "Tools/xml.ML";        (* used directly *)
21974
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    36
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    37
21997
6e3a0b25cda5 run as RAW session;
wenzelm
parents: 21974
diff changeset
    38
(* Our code *)
21974
c4e4d34fbc60 Add standalone file to help porters
aspinall
parents:
diff changeset
    39
21997
6e3a0b25cda5 run as RAW session;
wenzelm
parents: 21974
diff changeset
    40
use "ProofGeneral/pgip_types.ML";
23620
55ef4d0bc250 moved General/xml.ML to Tools/xml.ML;
wenzelm
parents: 22589
diff changeset
    41
use "ProofGeneral/pgml.ML";
21997
6e3a0b25cda5 run as RAW session;
wenzelm
parents: 21974
diff changeset
    42
use "ProofGeneral/pgip_markup.ML";
6e3a0b25cda5 run as RAW session;
wenzelm
parents: 21974
diff changeset
    43
use "ProofGeneral/pgip_input.ML";
6e3a0b25cda5 run as RAW session;
wenzelm
parents: 21974
diff changeset
    44
use "ProofGeneral/pgip_output.ML";
6e3a0b25cda5 run as RAW session;
wenzelm
parents: 21974
diff changeset
    45
use "ProofGeneral/pgip.ML";