comparison doc/manual.tex @ 1522:4d0b80dd4c37

Introduce URWEB_STACK_SIZE environment variable (based on a patch by Hao Deng)
author Adam Chlipala <adam@chlipala.net>
date Tue, 02 Aug 2011 14:31:37 -0400
parents c4f39b49aa2d
children 52fbd8534ef3
comparison
equal deleted inserted replaced
1521:001638622c4f 1522:4d0b80dd4c37
319 \item To include code that should not be shown in the tutorial (e.g., to add a \cd{show} instance to use with \cd{eval}), bracket the code with \cd{(* begin hide *)} and \cd{(* end *)}. 319 \item To include code that should not be shown in the tutorial (e.g., to add a \cd{show} instance to use with \cd{eval}), bracket the code with \cd{(* begin hide *)} and \cd{(* end *)}.
320 \end{itemize} 320 \end{itemize}
321 321
322 A word of warning: as for demo generation, tutorial generation calls Emacs to syntax-highlight Ur code. 322 A word of warning: as for demo generation, tutorial generation calls Emacs to syntax-highlight Ur code.
323 323
324 \subsection{Run-Time Options}
325
326 Compiled applications consult a few environment variables to modify their behavior:
327
328 \begin{itemize}
329 \item \cd{URWEB\_NUM\_THREADS}: alternative to the \cd{-t} command-line argument (currently used only by FastCGI)
330 \item \cd{URWEB\_STACK\_SIZE}: size of per-thread stacks, in bytes
331 \end{itemize}
332
324 333
325 \section{Ur Syntax} 334 \section{Ur Syntax}
326 335
327 In this section, we describe the syntax of Ur, deferring to a later section discussion of most of the syntax specific to SQL and XML. The sole exceptions are the declaration forms for relations, cookies, and styles. 336 In this section, we describe the syntax of Ur, deferring to a later section discussion of most of the syntax specific to SQL and XML. The sole exceptions are the declaration forms for relations, cookies, and styles.
328 337