Skip to content

Commit

Permalink
Merge change 6922 into K5 (Poly users can omit -expk option).
Browse files Browse the repository at this point in the history
  • Loading branch information
mn200 committed Jul 8, 2009
1 parent a85b5fb commit 3e20bdd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
16 changes: 7 additions & 9 deletions Manual/Tutorial/intro.tex
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,13 @@ \section{Installing HOL}
into the \texttt{hol/bin} directory. If something goes wrong at this
stage, consult Section~\ref{sec:editting-configure} below.

The next step is to run the \texttt{build} program. When using
Poly/ML, you must pass this program the \texttt{-expk} option. This
should result in a great deal of output as all of the system code is
compiled and the theories built. Eventually, a \HOL{}
system\footnote{Four \HOL{} executables are produced: \textsf{hol},
\textsf{hol.noquote}, \textsf{hol.bare} and
\textsf{hol.bare.noquote}. The first of these will be used for most
examples in the \TUTORIAL{}.} is produced in the \texttt{bin/}
directory.
The next step is to run the \texttt{build} program. This should
result in a great deal of output as all of the system code is compiled
and the theories built. Eventually, a \HOL{} system\footnote{Four
\HOL{} executables are produced: \textsf{hol}, \textsf{hol.noquote},
\textsf{hol.bare} and \textsf{hol.bare.noquote}. The first of these
will be used for most examples in the \TUTORIAL{}.} is produced in
the \texttt{bin/} directory.

\begin{session}
\begin{alltt}
Expand Down
2 changes: 1 addition & 1 deletion install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ C. In the HOL directory (<hol-dir>), type
D. Now perform the following shell command:

[Moscow ML:] <hol-dir>/bin/build
[Poly/ML:] <hol-dir>/bin/build -expk
[Poly/ML:] <hol-dir>/bin/build

This builds the system. In case of difficulty, the configuration
can be gone through by hand, by starting the ML interpreter and
Expand Down
9 changes: 6 additions & 3 deletions tools-poly/build.sml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,14 @@ val DYNLIB = Systeml.DYNLIB
---------------------------------------------------------------------- *)


(* use the experimental kernel? *)
(* use the experimental kernel? - Yes! Poly bug prevents use of standard
kernel *)
val (use_expk, cmdline) = let
val (expks, rest) = List.partition (fn e => e = "-expk") cmdline
val _ = print "** Using the experimental kernel (standard kernel \
\doesn't work with Poly/ML) **\n"
val (_, rest) = List.partition (fn e => e = "-expk") cmdline
in
(not (null expks), rest)
(true, rest)
end

(* do self-tests? and to what level *)
Expand Down

0 comments on commit 3e20bdd

Please sign in to comment.