src/Pure/ProofGeneral/pgip_standalone.ML
author wenzelm
Mon, 07 May 2007 00:49:59 +0200
changeset 22846 fb79144af9a3
parent 22589 18735b5fef26
child 23620 55ef4d0bc250
permissions -rw-r--r--
simplified DataFun interfaces;

(*  Title:      Pure/ProofGeneral/pgip_standalone.ML
    ID:         $Id$
    Author:     David Aspinall

   This file allows a standalone build of the PGIP abstraction module.

   This should be useful for building other tools, or as an aid to porting.

   A lot of Isabelle library code is pulled in, but only a few
   functions are actually used, and the libraries indicated "used
   directly" below could be replaced with other implementations.
*)

(* The required parts of Isabelle libraries *)

use "General/basics.ML";
use "library.ML";
use "General/position.ML";
use "General/path.ML";     (* used directly *)
use "General/table.ML";
use "General/alist.ML";

val print_mode = ref ([]: string list);
fun print_mode_active s = member (op =) (! print_mode) s;

use "General/output.ML";
use "General/scan.ML";
use "General/source.ML";
use "General/file.ML";     (* used directly *)
use "General/buffer.ML";
use "General/symbol.ML";
use "General/xml.ML";      (* used directly *)
use "General/url.ML";      (* used directly *)


(* Our code *)

use "ProofGeneral/pgip_types.ML";
use "ProofGeneral/pgip_markup.ML";
use "ProofGeneral/pgip_input.ML";
use "ProofGeneral/pgip_output.ML";
use "ProofGeneral/pgip.ML";