src/Tools/WWW_Find/Start_WWW_Find.thy
author wenzelm
Wed, 19 Feb 2014 21:38:44 +0100
changeset 55614 e2d71b8b0d95
parent 52926 6415d95bf7a2
permissions -rw-r--r--
prefer guarded Context_Position.report where feasible;

(* Load this theory to start the WWW_Find server on port defined by environment
   variable "SCGIPORT". Used by the isabelle wwwfind tool.
*)

theory Start_WWW_Find imports WWW_Find begin

ML {*
  val port = Markup.parse_int (getenv "SCGIPORT");
  ScgiServer.server' 10 "/" port;
*}

end