comparison doc/manual.tex @ 1961:0652f295e0fa

New compiler option: -stop
author Adam Chlipala <adam@chlipala.net>
date Sun, 19 Jan 2014 13:08:01 -0500
parents 93f3e35a7967
children b15a4c2cb542
comparison
equal deleted inserted replaced
1960:93f3e35a7967 1961:0652f295e0fa
339 \item \texttt{-sigfile PATH}: Same as the \texttt{sigfile} directive in \texttt{.urp} files 339 \item \texttt{-sigfile PATH}: Same as the \texttt{sigfile} directive in \texttt{.urp} files
340 340
341 \item \texttt{-sql FILENAME}: Set where a database set-up SQL script is written. 341 \item \texttt{-sql FILENAME}: Set where a database set-up SQL script is written.
342 342
343 \item \texttt{-static}: Link the runtime system statically. The default is to link against dynamic libraries. 343 \item \texttt{-static}: Link the runtime system statically. The default is to link against dynamic libraries.
344
345 \item \texttt{-stop PHASE}: Stop compilation after the named phase, printing the intermediate program to stderr. This flag is mainly useful for debugging the Ur/Web compiler itself.
344 \end{itemize} 346 \end{itemize}
345 347
346 There is an additional convenience method for invoking \texttt{urweb}. If the main argument is \texttt{FOO}, and \texttt{FOO.ur} exists but \texttt{FOO.urp} doesn't, then the invocation is interpreted as if called on a \texttt{.urp} file containing \texttt{FOO} as its only main entry, with an additional \texttt{rewrite all FOO/*} directive. 348 There is an additional convenience method for invoking \texttt{urweb}. If the main argument is \texttt{FOO}, and \texttt{FOO.ur} exists but \texttt{FOO.urp} doesn't, then the invocation is interpreted as if called on a \texttt{.urp} file containing \texttt{FOO} as its only main entry, with an additional \texttt{rewrite all FOO/*} directive.
347 349
348 \subsection{Tutorial Formatting} 350 \subsection{Tutorial Formatting}