(index ("from-string" 0) ("from-file" 358) ("eval-expr" 732) ("eval-statement" 845) ("template-std-env" 978) ("init-context" 1787) ("statements-from-string" 2514) ("statements-from-file" 2806) ("sexpr->tvalue" 3092) ("tvalue->sexpr" 3304))
(def (sig (procedure "from-string :: STRING [env: TEMPLATE-ENVIRONMENT] [models: ALIST] [ctx: TEMPLATE-CONTEXT] -> STRING" (id from-string))) (p "Parses the given string and evaluates the resulting template statements in the given context and models. See the section on data types for detailed definitions of the environment, context and statement types."))
(def (sig (procedure "from-file :: STRING [env: TEMPLATE-ENVIRONMENT] [models: ALIST] [ctx: TEMPLATE-CONTEXT] -> STRING" (id from-file))) (p "Parses the given file and evaluates the resulting template statements in the given context and models. See the the next section and the data types section for detailed definitions of the environment, context and statement types."))
(def (sig (procedure "eval-expr :: TEMPLATE-ENVIRONMENT * TEMPLATE-CONTEXT * TEXPR -> TVALUE " (id eval-expr))))
(def (sig (procedure "eval-statement :: TEMPLATE-ENVIRONMENT * TEMPLATE-CONTEXT * TSTMT -> TEMPLATE-CONTEXT " (id eval-statement))))
(def (sig (procedure " template-std-env :: [autoescape: BOOL] [search-path: STRING LIST] [filters: STRING LIST] [lexer-table: LEXER-TABLE] -> TEMPLATE-ENVIRONMENT" (id template-std-env))) (p "Creates a template evaluation environment to be used with " (tt "init-context") " and the parsing and evaluation procedures in the next sections. The following optional arguments are recognized:") (dl (dt (tt "autoescape: BOOL")) (dd "indicates whether to escape special HTML characters in expansion statements (" (tt "#f") " by default)") (dt (tt "search-path: STRING LIST")) (dd "a list of directories to be searched for include files") (dt (tt "filters: STRING LIST")) (dd "a list of filters to be applied to the inpurt") (dt (tt "lexer-table: LEXER-TABLE")) (dd "a table generated by " (tt "make-lexer-table"))))
(def (sig (procedure " init-context :: [env: TEMPLATE-ENVIRONMENT] [models: ALIST] [open-buffer: VOID -> PORT] -> TEMPLATE-CONTEXT" (id init-context))) (p "Initializes template context. The following optional arguments are recognized:") (dl (dt (tt "env: TEMPLATE-ENVIRONMENT")) (dd "a structure created by " (tt "template-std-env") " above") (dt (tt "models: ALIST")) (dd "an association list of the form " (tt "(NAME . VALUE)") " where " (tt "name") " is a symbol, and " (tt "value") " is a template value, described below; names in the " (tt "models") " list are to be substituted in expansion statements found in the input") (dt (tt "open-buffer: VOID -> PORT")) (dd "alternative procedure for creating the output port")))
(def (sig (procedure "statements-from-string :: TEMPLATE-ENVIRONMENT * STRING -> TSTMT LIST" (id statements-from-string))) (p "Parses the given string and returns a list of template statements. See the section on data types for detailed definitions of the environment and statement types."))
(def (sig (procedure "statements-from-file :: TEMPLATE-ENVIRONMENT * STRING -> TSTMT LIST" (id statements-from-file))) (p "Parses the given file and returns a list of template statements. See the section on data types for detailed definitions of the environment and statement types."))
(def (sig (procedure "sexpr->tvalue :: SEXPR -> TVALUE" (id sexpr->tvalue))) (p "Converts an s-expression to its template value representation. See the " (tt "tvalue") " datatype, described below for details."))
(def (sig (procedure "tvalue->sexpr :: TVALUE -> SEXPR" (id tvalue->sexpr))) (p "Converts a template value to its s-expression representation. See the " (tt "tvalue") " datatype, described below for details."))
