author | wenzelm |
Wed, 11 Dec 2013 18:02:22 +0100 | |
changeset 54717 | 42c209a6c225 |
parent 52926 | 6415d95bf7a2 |
permissions | -rw-r--r-- |
51085
d90218288d51
make WWW_Find work again, now that its ML modules reside within a theory context (cf. bf5b45870110) -- patch by Rafal Kolanski;
wenzelm
parents:
diff
changeset
|
1 |
(* Load this theory to start the WWW_Find server on port defined by environment |
d90218288d51
make WWW_Find work again, now that its ML modules reside within a theory context (cf. bf5b45870110) -- patch by Rafal Kolanski;
wenzelm
parents:
diff
changeset
|
2 |
variable "SCGIPORT". Used by the isabelle wwwfind tool. |
d90218288d51
make WWW_Find work again, now that its ML modules reside within a theory context (cf. bf5b45870110) -- patch by Rafal Kolanski;
wenzelm
parents:
diff
changeset
|
3 |
*) |
d90218288d51
make WWW_Find work again, now that its ML modules reside within a theory context (cf. bf5b45870110) -- patch by Rafal Kolanski;
wenzelm
parents:
diff
changeset
|
4 |
|
d90218288d51
make WWW_Find work again, now that its ML modules reside within a theory context (cf. bf5b45870110) -- patch by Rafal Kolanski;
wenzelm
parents:
diff
changeset
|
5 |
theory Start_WWW_Find imports WWW_Find begin |
d90218288d51
make WWW_Find work again, now that its ML modules reside within a theory context (cf. bf5b45870110) -- patch by Rafal Kolanski;
wenzelm
parents:
diff
changeset
|
6 |
|
d90218288d51
make WWW_Find work again, now that its ML modules reside within a theory context (cf. bf5b45870110) -- patch by Rafal Kolanski;
wenzelm
parents:
diff
changeset
|
7 |
ML {* |
51950 | 8 |
val port = Markup.parse_int (getenv "SCGIPORT"); |
51085
d90218288d51
make WWW_Find work again, now that its ML modules reside within a theory context (cf. bf5b45870110) -- patch by Rafal Kolanski;
wenzelm
parents:
diff
changeset
|
9 |
ScgiServer.server' 10 "/" port; |
d90218288d51
make WWW_Find work again, now that its ML modules reside within a theory context (cf. bf5b45870110) -- patch by Rafal Kolanski;
wenzelm
parents:
diff
changeset
|
10 |
*} |
d90218288d51
make WWW_Find work again, now that its ML modules reside within a theory context (cf. bf5b45870110) -- patch by Rafal Kolanski;
wenzelm
parents:
diff
changeset
|
11 |
|
d90218288d51
make WWW_Find work again, now that its ML modules reside within a theory context (cf. bf5b45870110) -- patch by Rafal Kolanski;
wenzelm
parents:
diff
changeset
|
12 |
end |
d90218288d51
make WWW_Find work again, now that its ML modules reside within a theory context (cf. bf5b45870110) -- patch by Rafal Kolanski;
wenzelm
parents:
diff
changeset
|
13 |