src/Tools/WWW_Find/Start_WWW_Find.thy
author blanchet
Thu, 24 Oct 2013 19:43:21 +0200
changeset 54202 0a06b51ffa56
parent 52926 6415d95bf7a2
permissions -rw-r--r--
handle applied ctor arguments gracefully when computing 'callssss' (for recursion through functions)

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