src/Tools/WWW_Find/Start_WWW_Find.thy
author wenzelm
Tue, 01 Apr 2014 22:25:01 +0200
changeset 56355 1a9f569b5b7e
parent 52926 6415d95bf7a2
permissions -rw-r--r--
some rephrasing to ensure that this becomes cheap "foreach" and not expensive "map" (cf. 0fc032898b05);

(* 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