The talcl Reference Manual

This is the talcl Reference Manual, version 0.2, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Nov 06 15:01:17 2023 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 talcl

TAL in CL

License

BSD

Version

0.2

Dependencies
  • buildnode (system).
  • cxml (system).
  • iterate (system).
  • alexandria (system).
  • symbol-munger (system).
  • cl-ppcre (system).
Source

talcl.asd.

Child Component

src (module).


3 Modules

Modules are listed depth-first from the system components tree.


3.1 talcl/src

Source

talcl.asd.

Parent Component

talcl (system).

Child Components

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


4.1 Lisp


4.1.1 talcl/talcl.asd

Source

talcl.asd.

Parent Component

talcl (system).

ASDF Systems

talcl.

Packages

talcl.system.


4.1.3 talcl/src/tal-environment.lisp

Dependency

packages.lisp (file).

Source

talcl.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.4 talcl/src/sax-buffer.lisp

Dependency

tal-environment.lisp (file).

Source

talcl.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.5 talcl/src/compile.lisp

Dependency

sax-buffer.lisp (file).

Source

talcl.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.6 talcl/src/dom.lisp

Dependency

compile.lisp (file).

Source

talcl.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.7 talcl/src/generator.lisp

Dependency

dom.lisp (file).

Source

talcl.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.8 talcl/src/handlers.lisp

Dependency

generator.lisp (file).

Source

talcl.asd.

Parent Component

src (module).

Public Interface
Internals

5 Packages

Packages are listed by definition order.


5.1 net.common-lisp.project.bese.tal.core

An HTML template authoring library.

Source

packages.lisp.

Nickname

tal

Public Interface
Internals

5.2 net.common-lisp.project.bese.tal.include-params

Source

packages.lisp.

Nickname

tal.include-params


5.3 talcl.system

Source

talcl.asd.

Use List
  • asdf/interface.
  • common-lisp.

5.4 net.acceleration.talcl

Source

packages.lisp.

Nickname

talcl

Use List
  • common-lisp.
  • iterate.
Public Interface
Internals

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


6.1 Public Interface


6.1.1 Special variables

Special Variable: *uri-to-package*

Default mapping of xmlns to packages.

Package

net.acceleration.talcl.

Source

compile.lisp.


6.1.2 Macros

Macro: def-attribute-handler (attribute (tag) &body body)

Defines a new attribute handler name ATTRIBUTE.

Package

net.acceleration.talcl.

Source

compile.lisp.

Macro: def-tag-handler (tag-name (tag) &body body)

Defines a new tag handlec named TAG-NAME.

Package

net.acceleration.talcl.

Source

compile.lisp.

Macro: destructure-tag ((tag &rest vars) &body body)

Binds tag-name tag-attributes and tag-body

Package

net.acceleration.talcl.

Source

compile.lisp.

Macro: with-missing-value-handler (((&optional name) &body handler-body) &body body)

Provides error handler that will handle filling unbound variable
references with a value

handler can be (() ... body ) or ((name) ... body)
the return value of handler will be the value inserted in place of the missing value If you provide name, it will be bound to the name of the unbound variable for the duration of the handler

see call-lambda-with-default-missing-value for an example of use

Package

net.acceleration.talcl.

Source

compile.lisp.


6.1.3 Ordinary functions

Function: call-template-with-tal-environment (generator template env)

This will call a template with all the tal-environment variables bound into the lisp dynamic environment.

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Function: compile-tal-file (pathname &optional expression-package)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: compile-tal-string (string &optional expression-package)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: content (tag)

ATTRIBUTE-HANDLER:
Replaces the content of the tag with the evaluated value of the attribute. This tag escapes its content to be html-safe.

Example:
<div tal:content=’$foo’ class=’jack’/>
Gets output as
<div class=’jack’>
|Whatever was in $foo|
</div>

Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.

Function: def (tag)

TAG-HANDLER: creates an inline sub-template available for the duration
of the templates execution.

The template should be named by the tal:name attribute or by
tal:name-expression if it should be evaluated.

Example:
<tal:def tal:name=’deffed-template’>
<div>
<span tal:when=’$selected’>*</span>
<span tal:content=’$label’</span>
</div>
</tal>

tal:def can also be used to create string constants when used with tal:type="string"

Example:
<tal:def tal:name=’deffed-string’ tal:type=’string’>This is my string</tal>

results in a let binding (deffed-string "This is my string")

Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.

Function: document-to-stream (doc stream)
Package

net.acceleration.talcl.

Source

dom.lisp.

Function: document-to-string (doc)
Package

net.acceleration.talcl.

Source

dom.lisp.

Function: find-file-in-directories (name root-directories)

Find the given name in a list of directories

For security if the roots are absolute, ensure that the resulting file is actually contained in those directories
i.e. prevent escaping the bounds via ../../../

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Function: in-package (tag)

ATTRIBUTE-HANDLER: sets the package in which lisp evaluation happens.

Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.

Function: include (tag)

TAG-HANDLER: includes another template at this point in the file. The template should be named by the tal:name attribute or by tal:name-expression if it should be evaluated.

The path to the referenced template should be relative to the location of the template it is included in.

The environment can be extended by including attributes in the parameter namespace, or immediate children in the parameter namespace.

Example:
<tal:include tal:name-expression=’$tal-name’ param:foo=’foo’ /> <tal:include tal:name=’other-template.tal’ param:foo=’foo’> <param:contents>
<div>
<span tal:when=’$selected’>*</span>
<span tal:content=’$label’</span>
</div>
</param:contents>
</tal>

The template other-template.tal will be evaluated with the additional parameters of ’foo’ and ’contents’.

Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.

Function: loop (tag)

TAG-HANDLER: Loop across a list and repeat the children. On each
iteration the environment is extended with the value

tal:list should evaluate to a list
tal:constant-list is parsed as a comma separated string

<tal:loop tal:var=’class’ tal:list=’$efficiencies’>
<label class=’map-control-item’>
<img class=’marker-icon ${$class}’ />
<span class=’text’ tal:content=’$class’/>
<input type=’checkbox’ name=’filter-efficiency’ item-type=’${$class}’ /> </label>
</tal:loop>

assuming that $efficiencies resolves to the list {foo,bar}.
<label class=’map-control-item’>
<img class=’marker-icon foo’ />
<span class=’text’ tal:content=’foo’/>
<input type=’checkbox’ name=’filter-efficiency’ item-type=’foo’ /> </label>
<label class=’map-control-item’>
<img class=’marker-icon bar’ />
<span class=’text’ tal:content=’bar’/>
<input type=’checkbox’ name=’filter-efficiency’ item-type=’bar’ /> </label>

Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.

Function: make-interner (uri-to-package chained-handler)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: make-template-processing-sink (&rest handlers)
Package

net.acceleration.talcl.

Source

dom.lisp.

Function: pull-attrib-val! (tag key)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: read-tal-expression-from-string (expression &optional implicit-progn-p)

Reads a single form from the string EXPRESSION using the TAL expression read table.

Package

net.acceleration.talcl.

Source

compile.lisp.

Function: replace (tag)

ATTRIBUTE-HANDLER: Replaces the content of the tag with the evaluated value of the attribute. Whether the content is escaped depends upon the sibling attribute ’tal:escape-html

Example:
<div tal:replace=’$foo’ class=’jack’/>

Gets output as:
|Whatever was in $foo|

Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.

Function: run-template (generator template env)

Runs a tal template returning the string produced

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Function: run-template-fn (fn env)

Runs a tal template returning the string produced

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Function: tal (tag)
Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.

Function: tal-env (&rest pairs)

Creates a fresh tal environment from the plist PAIRS.

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Function: tal-processing-instruction (generator template-name env)

Make a tal-processing-instruction. It’s a dom node that when processed will insert the template in the sax stream.

The template content will never be part of the dom, which saves two changes of representation. This is about 3 times faster than tal-template-content.

Package

net.acceleration.talcl.

Source

dom.lisp.

Function: tal-template-content (generator template-name env &optional node)

Serialize a template into the document as children of the node passed in

This is about 3 times slower than the tal-processing-instruction

Package

net.acceleration.talcl.

Source

dom.lisp.

Function: transform-lxml-form (form)

Transforms the lxml tree FORM into common lisp code (a series of calls to tag macros).

Package

net.acceleration.talcl.

Source

compile.lisp.

Function: transform-lxml-tree (tree)

Given a tree representing some LXML code with TAL attributes returns the yaclml tag using code for generating the HTML. Destructivly modifies TREE.

Package

net.acceleration.talcl.

Source

compile.lisp.

Function: when (tag)

ATTRIBUTE-HANDLER: Causes this tag to only appear when the evaluated value of the attribute is not nil.

Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.


6.1.4 Generic functions

Generic Function: load-tal (generator name)
Package

net.acceleration.talcl.

Source

generator.lisp.

Methods
Method: load-tal ((generator caching-file-system-generator) name)
Method: load-tal ((generator file-system-generator) (name pathname))
Method: load-tal ((generator file-system-generator) (name string))
Generic Reader: root-directories (object)
Package

net.acceleration.talcl.

Methods
Reader Method: root-directories ((file-system-generator file-system-generator))

automatically generated reader method

Source

generator.lisp.

Target Slot

root-directories.

Generic Writer: (setf root-directories) (object)
Package

net.acceleration.talcl.

Methods
Writer Method: (setf root-directories) ((file-system-generator file-system-generator))

automatically generated writer method

Source

generator.lisp.

Target Slot

root-directories.

Generic Function: template-truename (generator name)
Package

net.acceleration.talcl.

Source

generator.lisp.

Methods
Method: template-truename ((generator file-system-generator) name)

6.1.5 Standalone methods

Method: attribute-declaration ((handler buffering-sink) elt attr type default)
Package

sax.

Source

sax-buffer.lisp.

Method: characters ((handler buffering-sink) data)
Package

sax.

Source

sax-buffer.lisp.

Method: comment ((handler extended-xmls-builder) data)
Package

sax.

Source

sax-buffer.lisp.

Method: comment ((handler buffering-sink) data)
Package

sax.

Source

sax-buffer.lisp.

Method: element-declaration ((handler buffering-sink) name model)
Package

sax.

Source

sax-buffer.lisp.

Method: end-cdata ((handler buffering-sink))
Package

sax.

Source

sax-buffer.lisp.

Method: end-document ((handler buffering-sink))
Package

sax.

Source

sax-buffer.lisp.

Method: end-dtd ((handler buffering-sink))
Package

sax.

Source

sax-buffer.lisp.

Method: end-element ((handler buffering-sink) namespace-uri local-name qname)
Package

sax.

Source

sax-buffer.lisp.

Method: end-internal-subset ((handler buffering-sink))
Package

sax.

Source

sax-buffer.lisp.

Method: end-prefix-mapping ((handler buffering-sink) prefix)
Package

sax.

Source

sax-buffer.lisp.

Method: entity-resolver ((handler buffering-sink) resolver)
Package

sax.

Source

sax-buffer.lisp.

Method: external-entity-declaration ((handler buffering-sink) kind name pub sys)
Package

sax.

Source

sax-buffer.lisp.

Method: internal-entity-declaration ((handler buffering-sink) kind name value)
Package

sax.

Source

sax-buffer.lisp.

Writer Method: (setf node-name) ((template-node template-node))

automatically generated writer method

Package

dom.

Source

dom.lisp.

Target Slot

node-name.

Reader Method: node-name ((template-node template-node))

automatically generated reader method

Package

dom.

Source

dom.lisp.

Target Slot

node-name.

Method: notation-declaration ((handler buffering-sink) name public-id system-id)
Package

sax.

Source

sax-buffer.lisp.

Method: processing-instruction ((sink template-processing-sink) target data)
Package

sax.

Source

dom.lisp.

Method: processing-instruction ((handler buffering-sink) target data)
Package

sax.

Source

sax-buffer.lisp.

Method: (setf sink-omit-xml-declaration-p) ((sink template-processing-sink))
Package

cxml.

Source

dom.lisp.

Method: sink-omit-xml-declaration-p ((sink template-processing-sink))
Package

cxml.

Source

dom.lisp.

Method: start-cdata ((handler buffering-sink))
Package

sax.

Source

sax-buffer.lisp.

Method: start-document ((handler buffering-sink))
Package

sax.

Source

sax-buffer.lisp.

Method: start-dtd ((handler buffering-sink) name public-id system-id)
Package

sax.

Source

sax-buffer.lisp.

Method: start-element ((handler buffering-sink) uri lname qname attributes)
Package

sax.

Source

sax-buffer.lisp.

Method: start-element ((handler interner) namespace-uri local-name qname attributes)
Package

sax.

Source

compile.lisp.

Method: start-internal-subset ((handler buffering-sink))
Package

sax.

Source

sax-buffer.lisp.

Method: start-prefix-mapping ((handler buffering-sink) prefix uri)
Package

sax.

Source

sax-buffer.lisp.

Method: unescaped ((handler buffering-sink) data)
Package

sax.

Source

sax-buffer.lisp.

Method: unparsed-entity-declaration ((handler buffering-sink) name pub sys not)
Package

sax.

Source

sax-buffer.lisp.


6.1.6 Conditions

Condition: tal-runtime-condition
Package

net.acceleration.talcl.

Source

compile.lisp.

Direct superclasses

simple-condition.

Direct subclasses

tal-runtime-error.

Direct methods
Direct slots
Slot: format-control
Initform

(quote nil)

Initargs

:format-control

Readers

format-control.

Writers

(setf format-control).

Slot: format-args
Initform

(quote nil)

Initargs

:format-args

Readers

format-args.

Writers

(setf format-args).

Slot: original-error
Initform

(quote nil)

Initargs

:original-error

Readers

original-error.

Writers

(setf original-error).

Slot: template
Initform

(quote net.acceleration.talcl::*name-being-compiled*)

Initargs

:template

Readers

template.

Writers

(setf template).


6.1.7 Classes

Class: caching-file-system-generator

Similar to a file-system-generator it generates out
of some root directories, however it keeps a cache of the compiled lisp functions. The function you get back from it checks the file’s date-modified and automatically recompiles at need.

Package

net.acceleration.talcl.

Source

generator.lisp.

Direct superclasses

file-system-generator.

Direct methods
Direct slots
Slot: cache
Initform

(make-hash-table :test (quote equal))

Readers

cache.

Writers

(setf cache).

Class: file-system-generator

When given a list of root directories it will search for templates in those directories.

Package

net.acceleration.talcl.

Source

generator.lisp.

Direct superclasses

tal-generator.

Direct subclasses

caching-file-system-generator.

Direct methods
Direct slots
Slot: root-directories
Type

list

Initargs

:root-directories

Readers

root-directories.

Writers

(setf root-directories).

Class: tal-generator
Package

net.acceleration.talcl.

Source

generator.lisp.

Direct subclasses

file-system-generator.

Direct methods
Direct slots
Slot: log-fn

A log-fn that accepts a string and writes it to the log

Initargs

:log-fn

Readers

log-fn.

Writers

(setf log-fn).

Class: template-processing-sink
Package

net.acceleration.talcl.

Source

dom.lisp.

Direct superclasses

broadcast-handler.

Direct methods

6.2 Internals


6.2.1 Special variables

Special Variable: *default-missing-template-value*
Package

net.acceleration.talcl.

Source

compile.lisp.

Special Variable: *expression-package*

The value of *PACKAGE* when tal attribute expressions and for looking up symbols in the environment.

Package

net.acceleration.talcl.

Source

compile.lisp.

Special Variable: *log*

A log-fn that accepts a string and writes it to the log

Package

net.acceleration.talcl.

Source

generator.lisp.

Special Variable: *name-being-compiled*
Package

net.acceleration.talcl.

Source

compile.lisp.

Special Variable: *rely-on-warnings-for-variables*
Package

net.acceleration.talcl.

Source

compile.lisp.

Special Variable: *string-being-compiled*
Package

net.acceleration.talcl.

Source

compile.lisp.

Special Variable: *tal-attribute-handlers*
Package

net.acceleration.talcl.

Source

compile.lisp.

Special Variable: *tal-defs*
Package

net.acceleration.talcl.

Source

compile.lisp.

Special Variable: *tal-env*

When calling a function with then environment, we progv the variables in This is a separate plist style binding of variables that can be accessed or used during debugging

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Special Variable: *tal-generator*

The generator to be used during compilation.

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Special Variable: *tal-tag-handlers*
Package

net.acceleration.talcl.

Source

compile.lisp.

Special Variable: *tal-templates*
Package

net.acceleration.talcl.

Source

generator.lisp.

Special Variable: *tal-truename*

The truename of the tal file being compiled.

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Special Variable: *talable-strings*

Whether or not to treat regular attributes and contents as talable strings.

Package

net.acceleration.talcl.

Source

compile.lisp.


6.2.2 Macros

Macro: aif (test then &optional else)

Just like IF-BIND but the var is always IT.

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Macro: awhen (test &body body)

Just like when expect the symbol IT will be bound to the result of TEST in BODY.

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Macro: if-bind (var test &body then/else)

Anaphoric IF control structure.

VAR (a symbol) will be bound to the primary value of TEST. If TEST returns a true value then THEN will be executed, otherwise ELSE will be executed.

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Macro: rebinding (bindings &body body)

Bind each var in BINDINGS to a gensym, bind the gensym to
var’s value via a let, return BODY’s value wrapped in this let.

Evaluates a series of forms in the lexical environment that is formed by adding the binding of each VAR to a fresh, uninterned symbol, and the binding of that fresh, uninterned symbol to VAR’s original value, i.e., its value in the current lexical environment.

The uninterned symbol is created as if by a call to GENSYM with the string denoted by PREFIX - or, if PREFIX is not supplied, the string denoted by VAR - as argument.

The forms are evaluated in order, and the values of all but the last are discarded (that is, the body is an implicit PROGN).

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Macro: when-bind (var test &body body)

Just like when except VAR will be bound to the result of TEST in BODY.

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Macro: with-input-from-file ((stream-name file-name &rest args &key direction external-format &allow-other-keys) &body body)

Evaluate BODY with STREAM-NAME bound to an input-stream from file FILE-NAME. ARGS is passed directly to open.

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Macro: with-tal-compilation-unit (pathname &body body)
Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Macro: with-this-sink ((sink) &body body)
Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Macro: with-unique-names ((&rest bindings) &body body)

Evaluate BODY with BINDINGS bound to fresh unique symbols.

Syntax: WITH-UNIQUE-NAMES ( [ var | (var x) ]* ) declaration* form*

Executes a series of forms with each VAR bound to a fresh, uninterned symbol. The uninterned symbol is as if returned by a call to GENSYM with the string denoted by X - or, if X is not supplied, the string denoted by VAR - as argument.

The variable bindings created are lexical unless special declarations are specified. The scopes of the name bindings and declarations do not include the Xs.

The forms are evaluated in order, and the values of all but the last are discarded (that is, the body is an implicit PROGN).

Package

net.acceleration.talcl.

Source

tal-environment.lisp.


6.2.3 Compiler macros

Compiler Macro: %emit-tagged-content (value &optional escape)
Package

net.acceleration.talcl.

Source

handlers.lisp.


6.2.4 Ordinary functions

Function: $⎵tal⎵reader (stream char)

The $ char reader for tal expressions.
This just tries to smooth over inconsistancies encountered by using $var-name in tal:foo attributes and regular foo attributes

Package

net.acceleration.talcl.

Source

compile.lisp.

Function: %buffer-output-till-success (body-fn)

A function that buffers sax events in body till we are sure that body will execute completely and correctly. Mostly used while providing missing template values

Package

net.acceleration.talcl.

Source

compile.lisp.

Function: %call-template-with-tal-environment (tal-fn env)

This will call a template-fn with all the tal-environment variables bound into the lisp dynamic environment.

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Function: %eval (tag)
Package

net.acceleration.talcl.

Source

handlers.lisp.

Function: %get-tal-template-fn (file-name generator)
Package

net.acceleration.talcl.

Source

generator.lisp.

Function: %in-common-lisp (s)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: buffered-template-call (template-function env)
Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Function: call-lambda-with-default-missing-value (lambda)

If you encounter an unbound template variable and we have a *default-missing-template-value*, invoke the set-value restart with that default

see also: call-lambda-with-default-missing-value which sets up the restart

Package

net.acceleration.talcl.

Source

compile.lisp.

Function: call-lambda-with-unbound-variable-restarts (lambda)

When you enconter an unbound variable while executing a template function, provide a restart to bind that variable so that the template can be executed

see also: call-lambda-with-default-missing-value
which will invoke this restart with *default-missing-template-value* if there is one

see also: with-missing-value-handler which shortcuts the rather tedious handler-bind for this into a bare minimum handler

Package

net.acceleration.talcl.

Source

compile.lisp.

Function: compile-tal-parse-tree-to-lambda (parse-tree &optional expression-package tree-or-forms?)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: compile-tal-string-to-lambda (string &key expression-package declare-unbound-variables-special?)

Returns the source code for the tal function form the tal text STRING.

Package

net.acceleration.talcl.

Source

compile.lisp.

Function: content-as-is (tag)

ATTRIBUTE-HANDLER:
Replaces the content of the tag with the evaluated value of the attribute. This tag does not escape the content.

Example:
<div tal:content-as-is=’$foo’ class=’jack’/>
Gets output as
<div class=’jack’>
|Whatever was in $foo|
</div>

Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.

Function: copy-tal-template (instance)
Package

net.acceleration.talcl.

Source

generator.lisp.

Function: describe-handler (tag)

TAG-HANDLER: Describes (in an comment) the tag or attribute handler named by the attribute tal:name

Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.

Function: describe-handlers (tag)

TAG-HANDLER: Describes (in an comment), all tags and attribute handlers that are known (in *tal-attribute-handlers* or *tal-tag-handlers*)

Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.

Function: dom-walk-helper (tree)
Package

net.acceleration.talcl.

Source

dom.lisp.

Function: dos-safe-read-line (stream &optional eof-error-p eof-value recursive-p)

readline that can read unix or dos lines

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Function: eliminate-..-in-path (name)
Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Function: error-tal-expression-eof (expression &optional error)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: find-expression-line/col-number (expr)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: find-handler-named (name)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: find-missing-template-variables (lambda-form &key rely-on-warnings?)

If you set rely-on-warnings, MAKE sure your warnings are correctly listed below

Package

net.acceleration.talcl.

Source

compile.lisp.

Function: find-missing-template-variables-from-unbound-variable-errors (lambda-form)

Find all the missing variables from their unbound-variable errors

loop compiling each time till we get no more of these errors each time we add a new key arg defaulting to a value from the base environment

Package

net.acceleration.talcl.

Source

compile.lisp.

Function: find-missing-template-variables-from-warnings (lambda-form)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: gather-attrib-forms (attributes)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: intern-tal-string (s)
Package

net.acceleration.talcl.

Source

handlers.lisp.

Function: let (tag)

ATTRUBTE-HANDLER: Extend environment with a given list of bindings, as for LET* form.

Example:
<div tal:let=’foo 3’><div tal:content=’$foo’/></div>

Goes to: <div><div>3</div></div>

Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.

Function: lisp (tag)

TAG-HANDLER: evaluate the body of the tag as lisp code.

Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.

Function: make-extended-xmls-builder (&key include-default-values include-namespace-uri)

Make a XMLS style builder. When ’include-namespace-uri is true a modified XMLS tree is generated that includes the element namespace URI rather than the qualified name prefix and also includes the namespace URI for attributes.

Package

net.acceleration.talcl.

Source

sax-buffer.lisp.

Function: make-output-sink (stream &key canonical indentation char-p)
Package

net.acceleration.talcl.

Source

dom.lisp.

Function: make-tal-template (&key last-load-time file-name function)
Package

net.acceleration.talcl.

Source

generator.lisp.

Function: parse-tal-attribute-value (value-string)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: parse-tal-body-content (value-string)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: parse-talable-string (value-string)

Parser a TAL attribute expression, returns a form for building the expression at run time.

Package

net.acceleration.talcl.

Source

compile.lisp.

Function: plist-attrs (tag)

Convert a plist returned from the value of this attribute into attributes on this tag.

Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.

Function: print-env (tag)

TAG-HANDLER: prints as a comment information about the tal-environment where this tag was encountered

Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.

Function: print-handlers (tag)

TAG-HANDLER: Lists (in a comment) the tag and attribute handlers that are currently registered.

Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.

Function: read-string-from-file (pathname &key buffer-size element-type external-format)

Return the contents of PATHNAME as a fresh string.

The file specified by PATHNAME will be read one ELEMENT-TYPE element at a time, the EXTERNAL-FORMAT and ELEMENT-TYPEs must be compatible.

The EXTERNAL-FORMAT parameter will be passed to ENCODING-KEYWORD-TO-NATIVE, see ENCODING-KEYWORD-TO-NATIVE to possible values.

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Function: read-tal-file-into-string (pathname)
Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Function: specified-attribute* (prefix lname value &optional qname)

A copy of cxml:attribute* that sets specified-p correctly
TODO: cxml:attribute* should probably set this by default or
accept it as an optional arg. Push this upstream

@arg[prefix]{Namespace prefix, a string.}
@arg[lname]{Local name, a string.}
@arg[value]{Any value understood by @fun{unparse-attribute}, in particular strings.}
@return{undocumented}

Collects an attribute for the start tag that is currently being written.

This function may only be called during the extent of a use of @fun{with-element} or @fun{with-element*}, and only before the first child node has been written.

An attribute for the current element is recorded using the namespace prefix and local name specified by arguments. @var{prefix} is resolved to a namespace URI using the bindings established by @fun{with-namespace}, and that namespace URI is used for the attribute.

Package

net.acceleration.talcl.

Source

compile.lisp.

Function: starts-with (sequence prefix &key test return-suffix)

Test whether the first elements of SEQUENCE are the same (as per TEST) as the elements of PREFIX.

If RETURN-SUFFIX is T the functions returns, as a second value, a displaced array pointing to the sequence after PREFIX.

Package

net.acceleration.talcl.

Source

tal-environment.lisp.

Function: tal-error (message &rest args)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: tal-log (message &rest args)
Package

net.acceleration.talcl.

Source

generator.lisp.

Function: tal-re-error (c &optional message &rest args)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: tal-re-warn (c &optional message &rest args)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: tal-runtime-error (original-error message &rest args)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: tal-template-p (object)
Package

net.acceleration.talcl.

Source

generator.lisp.

Reader: tal-template.file-name (instance)
Writer: (setf tal-template.file-name) (instance)
Package

net.acceleration.talcl.

Source

generator.lisp.

Target Slot

file-name.

Reader: tal-template.function (instance)
Writer: (setf tal-template.function) (instance)
Package

net.acceleration.talcl.

Source

generator.lisp.

Target Slot

function.

Reader: tal-template.last-load-time (instance)
Writer: (setf tal-template.last-load-time) (instance)
Package

net.acceleration.talcl.

Source

generator.lisp.

Target Slot

last-load-time.

Function: tal-warn (message &rest args)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: talable-strings (tag)
Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.

Function: transform-lxml-form-in-scope (form)

Creates a new scope (ie: for def) and processes a form inside it

Package

net.acceleration.talcl.

Source

compile.lisp.

Function: transform-lxml-regular-tag (tag-name attributes body)
Package

net.acceleration.talcl.

Source

compile.lisp.

Function: transform-lxml-tree-in-scope (tree)

Creates a new scope (ie: for def) and processes a tree of children inside it

Package

net.acceleration.talcl.

Source

compile.lisp.

Function: unless (tag)

ATTRIBUTE-HANDLER: Causes this tag to only appear when the evaluated value of the attribute is nil.

Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.

Function: without-reader (tag)
Package

net.common-lisp.project.bese.tal.core.

Source

handlers.lisp.


6.2.5 Generic functions

Generic Function: %emit-tagged-content (value &optional escape)
Package

net.acceleration.talcl.

Source

handlers.lisp.

Methods
Method: %emit-tagged-content (value &optional escape)
Generic Reader: buffer (object)
Generic Writer: (setf buffer) (object)
Package

net.acceleration.talcl.

Methods
Reader Method: buffer ((buffering-sink buffering-sink))
Writer Method: (setf buffer) ((buffering-sink buffering-sink))

The events buffered so far

Source

sax-buffer.lisp.

Target Slot

buffer.

Generic Reader: buffering (object)
Generic Writer: (setf buffering) (object)
Package

net.acceleration.talcl.

Methods
Reader Method: buffering ((buffering-sink buffering-sink))
Writer Method: (setf buffering) ((buffering-sink buffering-sink))

Is this currently buffering

Source

sax-buffer.lisp.

Target Slot

buffering.

Generic Reader: cache (object)
Package

net.acceleration.talcl.

Methods
Reader Method: cache ((caching-file-system-generator caching-file-system-generator))

automatically generated reader method

Source

generator.lisp.

Target Slot

cache.

Generic Writer: (setf cache) (object)
Package

net.acceleration.talcl.

Methods
Writer Method: (setf cache) ((caching-file-system-generator caching-file-system-generator))

automatically generated writer method

Source

generator.lisp.

Target Slot

cache.

Generic Function: clear-buffer (sink)
Package

net.acceleration.talcl.

Source

sax-buffer.lisp.

Methods
Method: clear-buffer ((o buffering-sink))
Generic Reader: flushing (object)
Generic Writer: (setf flushing) (object)
Package

net.acceleration.talcl.

Methods
Reader Method: flushing ((buffering-sink buffering-sink))
Writer Method: (setf flushing) ((buffering-sink buffering-sink))

Is this currently flushing

Source

sax-buffer.lisp.

Target Slot

flushing.

Generic Reader: format-args (condition)
Generic Writer: (setf format-args) (condition)
Package

net.acceleration.talcl.

Methods
Reader Method: format-args ((condition tal-runtime-condition))
Writer Method: (setf format-args) ((condition tal-runtime-condition))
Source

compile.lisp.

Target Slot

format-args.

Reader Method: format-args ((condition tal-compilation-condition))
Writer Method: (setf format-args) ((condition tal-compilation-condition))
Source

compile.lisp.

Target Slot

format-args.

Generic Reader: format-control (condition)
Generic Writer: (setf format-control) (condition)
Package

net.acceleration.talcl.

Methods
Reader Method: format-control ((condition tal-runtime-condition))
Writer Method: (setf format-control) ((condition tal-runtime-condition))
Source

compile.lisp.

Target Slot

format-control.

Reader Method: format-control ((condition tal-compilation-condition))
Writer Method: (setf format-control) ((condition tal-compilation-condition))
Source

compile.lisp.

Target Slot

format-control.

Generic Reader: log-fn (object)
Generic Writer: (setf log-fn) (object)
Package

net.acceleration.talcl.

Methods
Reader Method: log-fn ((tal-generator tal-generator))
Writer Method: (setf log-fn) ((tal-generator tal-generator))

A log-fn that accepts a string and writes it to the log

Source

generator.lisp.

Target Slot

log-fn.

Generic Reader: ns-test (object)
Package

net.acceleration.talcl.

Methods
Reader Method: ns-test ((interner interner))

automatically generated reader method

Source

compile.lisp.

Target Slot

ns-test.

Generic Writer: (setf ns-test) (object)
Package

net.acceleration.talcl.

Methods
Writer Method: (setf ns-test) ((interner interner))

automatically generated writer method

Source

compile.lisp.

Target Slot

ns-test.

Generic Reader: original-condition (condition)
Generic Writer: (setf original-condition) (condition)
Package

net.acceleration.talcl.

Methods
Reader Method: original-condition ((condition tal-compilation-condition))
Writer Method: (setf original-condition) ((condition tal-compilation-condition))
Source

compile.lisp.

Target Slot

original-condition.

Generic Reader: original-error (condition)
Generic Writer: (setf original-error) (condition)
Package

net.acceleration.talcl.

Methods
Reader Method: original-error ((condition tal-runtime-condition))
Writer Method: (setf original-error) ((condition tal-runtime-condition))
Source

compile.lisp.

Target Slot

original-error.

Generic Function: start-buffering (sink)
Package

net.acceleration.talcl.

Source

sax-buffer.lisp.

Methods
Method: start-buffering ((o buffering-sink))
Generic Function: stop-buffering-and-flush (buffer &optional output-sink)
Package

net.acceleration.talcl.

Source

sax-buffer.lisp.

Methods
Method: stop-buffering-and-flush ((o buffering-sink) &optional output-sink)
Generic Reader: template (condition)
Generic Writer: (setf template) (condition)
Package

net.acceleration.talcl.

Methods
Reader Method: template ((condition tal-runtime-condition))
Writer Method: (setf template) ((condition tal-runtime-condition))
Source

compile.lisp.

Target Slot

template.

Reader Method: template ((condition tal-compilation-condition))
Writer Method: (setf template) ((condition tal-compilation-condition))
Source

compile.lisp.

Target Slot

template.

Generic Reader: uri-to-package (object)
Package

net.acceleration.talcl.

Methods
Reader Method: uri-to-package ((interner interner))

automatically generated reader method

Source

compile.lisp.

Target Slot

uri-to-package.

Generic Writer: (setf uri-to-package) (object)
Package

net.acceleration.talcl.

Methods
Writer Method: (setf uri-to-package) ((interner interner))

automatically generated writer method

Source

compile.lisp.

Target Slot

uri-to-package.


6.2.6 Standalone methods

Method: dtd ((handler buffering-sink) dtd)
Package

sax.

Source

sax-buffer.lisp.


6.2.7 Conditions

Condition: tal-compilation-condition
Package

net.acceleration.talcl.

Source

compile.lisp.

Direct superclasses

simple-condition.

Direct subclasses
Direct methods
Direct slots
Slot: format-control
Initform

(quote nil)

Initargs

:format-control

Readers

format-control.

Writers

(setf format-control).

Slot: format-args
Initform

(quote nil)

Initargs

:format-args

Readers

format-args.

Writers

(setf format-args).

Slot: original-condition
Initform

(quote nil)

Initargs

:original-condition

Readers

original-condition.

Writers

(setf original-condition).

Slot: template
Initform

(quote net.acceleration.talcl::*name-being-compiled*)

Initargs

:template

Readers

template.

Writers

(setf template).

Condition: tal-compilation-error
Package

net.acceleration.talcl.

Source

compile.lisp.

Direct superclasses
Direct subclasses

tal-unexpected-eof-compilation-error.

Condition: tal-compilation-warning
Package

net.acceleration.talcl.

Source

compile.lisp.

Direct superclasses
Condition: tal-runtime-error
Package

net.acceleration.talcl.

Source

compile.lisp.

Direct superclasses
Condition: tal-unexpected-eof-compilation-error
Package

net.acceleration.talcl.

Source

compile.lisp.

Direct superclasses

6.2.8 Structures

Structure: tal-template
Package

net.acceleration.talcl.

Source

generator.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: last-load-time
Readers

tal-template.last-load-time.

Writers

(setf tal-template.last-load-time).

Slot: file-name
Readers

tal-template.file-name.

Writers

(setf tal-template.file-name).

Slot: function
Package

common-lisp.

Readers

tal-template.function.

Writers

(setf tal-template.function).


6.2.9 Classes

Class: buffering-sink
Package

net.acceleration.talcl.

Source

sax-buffer.lisp.

Direct superclasses

broadcast-handler.

Direct methods
Direct slots
Slot: buffering

Is this currently buffering

Initargs

:buffering

Readers

buffering.

Writers

(setf buffering).

Slot: flushing

Is this currently flushing

Initargs

:flushing

Readers

flushing.

Writers

(setf flushing).

Slot: buffer

The events buffered so far

Initargs

:buffer

Readers

buffer.

Writers

(setf buffer).

Class: extended-xmls-builder

an xmls builder that includes comments as (:comment () comment-text) nodes

Package

net.acceleration.talcl.

Source

sax-buffer.lisp.

Direct superclasses

xmls-builder.

Direct methods

comment.

Class: interner
Package

net.acceleration.talcl.

Source

compile.lisp.

Direct superclasses

broadcast-handler.

Direct methods
Direct slots
Slot: uri-to-package
Initargs

:uri-to-package

Readers

uri-to-package.

Writers

(setf uri-to-package).

Slot: ns-test
Initform

(function string=)

Initargs

:ns-test

Readers

ns-test.

Writers

(setf ns-test).

Class: template-node
Package

net.acceleration.talcl.

Source

dom.lisp.

Direct superclasses

processing-instruction.

Direct methods
Direct slots
Slot: node-name
Package

dom.

Initform

"template-node"

Initargs

:node-name

Readers

node-name.

Writers

(setf node-name).


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   $   %   (  
A   B   C   D   E   F   G   I   L   M   N   O   P   R   S   T   U   W  
Index Entry  Section

$
$⎵tal⎵reader: Private ordinary functions

%
%buffer-output-till-success: Private ordinary functions
%call-template-with-tal-environment: Private ordinary functions
%emit-tagged-content: Private compiler macros
%emit-tagged-content: Private generic functions
%emit-tagged-content: Private generic functions
%eval: Private ordinary functions
%get-tal-template-fn: Private ordinary functions
%in-common-lisp: Private ordinary functions

(
(setf buffer): Private generic functions
(setf buffer): Private generic functions
(setf buffering): Private generic functions
(setf buffering): Private generic functions
(setf cache): Private generic functions
(setf cache): Private generic functions
(setf flushing): Private generic functions
(setf flushing): Private generic functions
(setf format-args): Private generic functions
(setf format-args): Private generic functions
(setf format-args): Private generic functions
(setf format-control): Private generic functions
(setf format-control): Private generic functions
(setf format-control): Private generic functions
(setf log-fn): Private generic functions
(setf log-fn): Private generic functions
(setf node-name): Public standalone methods
(setf ns-test): Private generic functions
(setf ns-test): Private generic functions
(setf original-condition): Private generic functions
(setf original-condition): Private generic functions
(setf original-error): Private generic functions
(setf original-error): Private generic functions
(setf root-directories): Public generic functions
(setf root-directories): Public generic functions
(setf sink-omit-xml-declaration-p): Public standalone methods
(setf tal-template.file-name): Private ordinary functions
(setf tal-template.function): Private ordinary functions
(setf tal-template.last-load-time): Private ordinary functions
(setf template): Private generic functions
(setf template): Private generic functions
(setf template): Private generic functions
(setf uri-to-package): Private generic functions
(setf uri-to-package): Private generic functions

A
aif: Private macros
attribute-declaration: Public standalone methods
awhen: Private macros

B
buffer: Private generic functions
buffer: Private generic functions
buffered-template-call: Private ordinary functions
buffering: Private generic functions
buffering: Private generic functions

C
cache: Private generic functions
cache: Private generic functions
call-lambda-with-default-missing-value: Private ordinary functions
call-lambda-with-unbound-variable-restarts: Private ordinary functions
call-template-with-tal-environment: Public ordinary functions
characters: Public standalone methods
clear-buffer: Private generic functions
clear-buffer: Private generic functions
comment: Public standalone methods
comment: Public standalone methods
compile-tal-file: Public ordinary functions
compile-tal-parse-tree-to-lambda: Private ordinary functions
compile-tal-string: Public ordinary functions
compile-tal-string-to-lambda: Private ordinary functions
Compiler Macro, %emit-tagged-content: Private compiler macros
content: Public ordinary functions
content-as-is: Private ordinary functions
copy-tal-template: Private ordinary functions

D
def: Public ordinary functions
def-attribute-handler: Public macros
def-tag-handler: Public macros
describe-handler: Private ordinary functions
describe-handlers: Private ordinary functions
destructure-tag: Public macros
document-to-stream: Public ordinary functions
document-to-string: Public ordinary functions
dom-walk-helper: Private ordinary functions
dos-safe-read-line: Private ordinary functions
dtd: Private standalone methods

E
element-declaration: Public standalone methods
eliminate-..-in-path: Private ordinary functions
end-cdata: Public standalone methods
end-document: Public standalone methods
end-dtd: Public standalone methods
end-element: Public standalone methods
end-internal-subset: Public standalone methods
end-prefix-mapping: Public standalone methods
entity-resolver: Public standalone methods
error-tal-expression-eof: Private ordinary functions
external-entity-declaration: Public standalone methods

F
find-expression-line/col-number: Private ordinary functions
find-file-in-directories: Public ordinary functions
find-handler-named: Private ordinary functions
find-missing-template-variables: Private ordinary functions
find-missing-template-variables-from-unbound-variable-errors: Private ordinary functions
find-missing-template-variables-from-warnings: Private ordinary functions
flushing: Private generic functions
flushing: Private generic functions
format-args: Private generic functions
format-args: Private generic functions
format-args: Private generic functions
format-control: Private generic functions
format-control: Private generic functions
format-control: Private generic functions
Function, $⎵tal⎵reader: Private ordinary functions
Function, %buffer-output-till-success: Private ordinary functions
Function, %call-template-with-tal-environment: Private ordinary functions
Function, %eval: Private ordinary functions
Function, %get-tal-template-fn: Private ordinary functions
Function, %in-common-lisp: Private ordinary functions
Function, (setf tal-template.file-name): Private ordinary functions
Function, (setf tal-template.function): Private ordinary functions
Function, (setf tal-template.last-load-time): Private ordinary functions
Function, buffered-template-call: Private ordinary functions
Function, call-lambda-with-default-missing-value: Private ordinary functions
Function, call-lambda-with-unbound-variable-restarts: Private ordinary functions
Function, call-template-with-tal-environment: Public ordinary functions
Function, compile-tal-file: Public ordinary functions
Function, compile-tal-parse-tree-to-lambda: Private ordinary functions
Function, compile-tal-string: Public ordinary functions
Function, compile-tal-string-to-lambda: Private ordinary functions
Function, content: Public ordinary functions
Function, content-as-is: Private ordinary functions
Function, copy-tal-template: Private ordinary functions
Function, def: Public ordinary functions
Function, describe-handler: Private ordinary functions
Function, describe-handlers: Private ordinary functions
Function, document-to-stream: Public ordinary functions
Function, document-to-string: Public ordinary functions
Function, dom-walk-helper: Private ordinary functions
Function, dos-safe-read-line: Private ordinary functions
Function, eliminate-..-in-path: Private ordinary functions
Function, error-tal-expression-eof: Private ordinary functions
Function, find-expression-line/col-number: Private ordinary functions
Function, find-file-in-directories: Public ordinary functions
Function, find-handler-named: Private ordinary functions
Function, find-missing-template-variables: Private ordinary functions
Function, find-missing-template-variables-from-unbound-variable-errors: Private ordinary functions
Function, find-missing-template-variables-from-warnings: Private ordinary functions
Function, gather-attrib-forms: Private ordinary functions
Function, in-package: Public ordinary functions
Function, include: Public ordinary functions
Function, intern-tal-string: Private ordinary functions
Function, let: Private ordinary functions
Function, lisp: Private ordinary functions
Function, loop: Public ordinary functions
Function, make-extended-xmls-builder: Private ordinary functions
Function, make-interner: Public ordinary functions
Function, make-output-sink: Private ordinary functions
Function, make-tal-template: Private ordinary functions
Function, make-template-processing-sink: Public ordinary functions
Function, parse-tal-attribute-value: Private ordinary functions
Function, parse-tal-body-content: Private ordinary functions
Function, parse-talable-string: Private ordinary functions
Function, plist-attrs: Private ordinary functions
Function, print-env: Private ordinary functions
Function, print-handlers: Private ordinary functions
Function, pull-attrib-val!: Public ordinary functions
Function, read-string-from-file: Private ordinary functions
Function, read-tal-expression-from-string: Public ordinary functions
Function, read-tal-file-into-string: Private ordinary functions
Function, replace: Public ordinary functions
Function, run-template: Public ordinary functions
Function, run-template-fn: Public ordinary functions
Function, specified-attribute*: Private ordinary functions
Function, starts-with: Private ordinary functions
Function, tal: Public ordinary functions
Function, tal-env: Public ordinary functions
Function, tal-error: Private ordinary functions
Function, tal-log: Private ordinary functions
Function, tal-processing-instruction: Public ordinary functions
Function, tal-re-error: Private ordinary functions
Function, tal-re-warn: Private ordinary functions
Function, tal-runtime-error: Private ordinary functions
Function, tal-template-content: Public ordinary functions
Function, tal-template-p: Private ordinary functions
Function, tal-template.file-name: Private ordinary functions
Function, tal-template.function: Private ordinary functions
Function, tal-template.last-load-time: Private ordinary functions
Function, tal-warn: Private ordinary functions
Function, talable-strings: Private ordinary functions
Function, transform-lxml-form: Public ordinary functions
Function, transform-lxml-form-in-scope: Private ordinary functions
Function, transform-lxml-regular-tag: Private ordinary functions
Function, transform-lxml-tree: Public ordinary functions
Function, transform-lxml-tree-in-scope: Private ordinary functions
Function, unless: Private ordinary functions
Function, when: Public ordinary functions
Function, without-reader: Private ordinary functions

G
gather-attrib-forms: Private ordinary functions
Generic Function, %emit-tagged-content: Private generic functions
Generic Function, (setf buffer): Private generic functions
Generic Function, (setf buffering): Private generic functions
Generic Function, (setf cache): Private generic functions
Generic Function, (setf flushing): Private generic functions
Generic Function, (setf format-args): Private generic functions
Generic Function, (setf format-control): Private generic functions
Generic Function, (setf log-fn): Private generic functions
Generic Function, (setf ns-test): Private generic functions
Generic Function, (setf original-condition): Private generic functions
Generic Function, (setf original-error): Private generic functions
Generic Function, (setf root-directories): Public generic functions
Generic Function, (setf template): Private generic functions
Generic Function, (setf uri-to-package): Private generic functions
Generic Function, buffer: Private generic functions
Generic Function, buffering: Private generic functions
Generic Function, cache: Private generic functions
Generic Function, clear-buffer: Private generic functions
Generic Function, flushing: Private generic functions
Generic Function, format-args: Private generic functions
Generic Function, format-control: Private generic functions
Generic Function, load-tal: Public generic functions
Generic Function, log-fn: Private generic functions
Generic Function, ns-test: Private generic functions
Generic Function, original-condition: Private generic functions
Generic Function, original-error: Private generic functions
Generic Function, root-directories: Public generic functions
Generic Function, start-buffering: Private generic functions
Generic Function, stop-buffering-and-flush: Private generic functions
Generic Function, template: Private generic functions
Generic Function, template-truename: Public generic functions
Generic Function, uri-to-package: Private generic functions

I
if-bind: Private macros
in-package: Public ordinary functions
include: Public ordinary functions
intern-tal-string: Private ordinary functions
internal-entity-declaration: Public standalone methods

L
let: Private ordinary functions
lisp: Private ordinary functions
load-tal: Public generic functions
load-tal: Public generic functions
load-tal: Public generic functions
load-tal: Public generic functions
log-fn: Private generic functions
log-fn: Private generic functions
loop: Public ordinary functions

M
Macro, aif: Private macros
Macro, awhen: Private macros
Macro, def-attribute-handler: Public macros
Macro, def-tag-handler: Public macros
Macro, destructure-tag: Public macros
Macro, if-bind: Private macros
Macro, rebinding: Private macros
Macro, when-bind: Private macros
Macro, with-input-from-file: Private macros
Macro, with-missing-value-handler: Public macros
Macro, with-tal-compilation-unit: Private macros
Macro, with-this-sink: Private macros
Macro, with-unique-names: Private macros
make-extended-xmls-builder: Private ordinary functions
make-interner: Public ordinary functions
make-output-sink: Private ordinary functions
make-tal-template: Private ordinary functions
make-template-processing-sink: Public ordinary functions
Method, %emit-tagged-content: Private generic functions
Method, (setf buffer): Private generic functions
Method, (setf buffering): Private generic functions
Method, (setf cache): Private generic functions
Method, (setf flushing): Private generic functions
Method, (setf format-args): Private generic functions
Method, (setf format-args): Private generic functions
Method, (setf format-control): Private generic functions
Method, (setf format-control): Private generic functions
Method, (setf log-fn): Private generic functions
Method, (setf node-name): Public standalone methods
Method, (setf ns-test): Private generic functions
Method, (setf original-condition): Private generic functions
Method, (setf original-error): Private generic functions
Method, (setf root-directories): Public generic functions
Method, (setf sink-omit-xml-declaration-p): Public standalone methods
Method, (setf template): Private generic functions
Method, (setf template): Private generic functions
Method, (setf uri-to-package): Private generic functions
Method, attribute-declaration: Public standalone methods
Method, buffer: Private generic functions
Method, buffering: Private generic functions
Method, cache: Private generic functions
Method, characters: Public standalone methods
Method, clear-buffer: Private generic functions
Method, comment: Public standalone methods
Method, comment: Public standalone methods
Method, dtd: Private standalone methods
Method, element-declaration: Public standalone methods
Method, end-cdata: Public standalone methods
Method, end-document: Public standalone methods
Method, end-dtd: Public standalone methods
Method, end-element: Public standalone methods
Method, end-internal-subset: Public standalone methods
Method, end-prefix-mapping: Public standalone methods
Method, entity-resolver: Public standalone methods
Method, external-entity-declaration: Public standalone methods
Method, flushing: Private generic functions
Method, format-args: Private generic functions
Method, format-args: Private generic functions
Method, format-control: Private generic functions
Method, format-control: Private generic functions
Method, internal-entity-declaration: Public standalone methods
Method, load-tal: Public generic functions
Method, load-tal: Public generic functions
Method, load-tal: Public generic functions
Method, log-fn: Private generic functions
Method, node-name: Public standalone methods
Method, notation-declaration: Public standalone methods
Method, ns-test: Private generic functions
Method, original-condition: Private generic functions
Method, original-error: Private generic functions
Method, processing-instruction: Public standalone methods
Method, processing-instruction: Public standalone methods
Method, root-directories: Public generic functions
Method, sink-omit-xml-declaration-p: Public standalone methods
Method, start-buffering: Private generic functions
Method, start-cdata: Public standalone methods
Method, start-document: Public standalone methods
Method, start-dtd: Public standalone methods
Method, start-element: Public standalone methods
Method, start-element: Public standalone methods
Method, start-internal-subset: Public standalone methods
Method, start-prefix-mapping: Public standalone methods
Method, stop-buffering-and-flush: Private generic functions
Method, template: Private generic functions
Method, template: Private generic functions
Method, template-truename: Public generic functions
Method, unescaped: Public standalone methods
Method, unparsed-entity-declaration: Public standalone methods
Method, uri-to-package: Private generic functions

N
node-name: Public standalone methods
notation-declaration: Public standalone methods
ns-test: Private generic functions
ns-test: Private generic functions

O
original-condition: Private generic functions
original-condition: Private generic functions
original-error: Private generic functions
original-error: Private generic functions

P
parse-tal-attribute-value: Private ordinary functions
parse-tal-body-content: Private ordinary functions
parse-talable-string: Private ordinary functions
plist-attrs: Private ordinary functions
print-env: Private ordinary functions
print-handlers: Private ordinary functions
processing-instruction: Public standalone methods
processing-instruction: Public standalone methods
pull-attrib-val!: Public ordinary functions

R
read-string-from-file: Private ordinary functions
read-tal-expression-from-string: Public ordinary functions
read-tal-file-into-string: Private ordinary functions
rebinding: Private macros
replace: Public ordinary functions
root-directories: Public generic functions
root-directories: Public generic functions
run-template: Public ordinary functions
run-template-fn: Public ordinary functions

S
sink-omit-xml-declaration-p: Public standalone methods
specified-attribute*: Private ordinary functions
start-buffering: Private generic functions
start-buffering: Private generic functions
start-cdata: Public standalone methods
start-document: Public standalone methods
start-dtd: Public standalone methods
start-element: Public standalone methods
start-element: Public standalone methods
start-internal-subset: Public standalone methods
start-prefix-mapping: Public standalone methods
starts-with: Private ordinary functions
stop-buffering-and-flush: Private generic functions
stop-buffering-and-flush: Private generic functions

T
tal: Public ordinary functions
tal-env: Public ordinary functions
tal-error: Private ordinary functions
tal-log: Private ordinary functions
tal-processing-instruction: Public ordinary functions
tal-re-error: Private ordinary functions
tal-re-warn: Private ordinary functions
tal-runtime-error: Private ordinary functions
tal-template-content: Public ordinary functions
tal-template-p: Private ordinary functions
tal-template.file-name: Private ordinary functions
tal-template.function: Private ordinary functions
tal-template.last-load-time: Private ordinary functions
tal-warn: Private ordinary functions
talable-strings: Private ordinary functions
template: Private generic functions
template: Private generic functions
template: Private generic functions
template-truename: Public generic functions
template-truename: Public generic functions
transform-lxml-form: Public ordinary functions
transform-lxml-form-in-scope: Private ordinary functions
transform-lxml-regular-tag: Private ordinary functions
transform-lxml-tree: Public ordinary functions
transform-lxml-tree-in-scope: Private ordinary functions

U
unescaped: Public standalone methods
unless: Private ordinary functions
unparsed-entity-declaration: Public standalone methods
uri-to-package: Private generic functions
uri-to-package: Private generic functions

W
when: Public ordinary functions
when-bind: Private macros
with-input-from-file: Private macros
with-missing-value-handler: Public macros
with-tal-compilation-unit: Private macros
with-this-sink: Private macros
with-unique-names: Private macros
without-reader: Private ordinary functions


A.3 Variables

Jump to:   *  
B   C   F   L   N   O   R   S   T   U  
Index Entry  Section

*
*default-missing-template-value*: Private special variables
*expression-package*: Private special variables
*log*: Private special variables
*name-being-compiled*: Private special variables
*rely-on-warnings-for-variables*: Private special variables
*string-being-compiled*: Private special variables
*tal-attribute-handlers*: Private special variables
*tal-defs*: Private special variables
*tal-env*: Private special variables
*tal-generator*: Private special variables
*tal-tag-handlers*: Private special variables
*tal-templates*: Private special variables
*tal-truename*: Private special variables
*talable-strings*: Private special variables
*uri-to-package*: Public special variables

B
buffer: Private classes
buffering: Private classes

C
cache: Public classes

F
file-name: Private structures
flushing: Private classes
format-args: Public conditions
format-args: Private conditions
format-control: Public conditions
format-control: Private conditions
function: Private structures

L
last-load-time: Private structures
log-fn: Public classes

N
node-name: Private classes
ns-test: Private classes

O
original-condition: Private conditions
original-error: Public conditions

R
root-directories: Public classes

S
Slot, buffer: Private classes
Slot, buffering: Private classes
Slot, cache: Public classes
Slot, file-name: Private structures
Slot, flushing: Private classes
Slot, format-args: Public conditions
Slot, format-args: Private conditions
Slot, format-control: Public conditions
Slot, format-control: Private conditions
Slot, function: Private structures
Slot, last-load-time: Private structures
Slot, log-fn: Public classes
Slot, node-name: Private classes
Slot, ns-test: Private classes
Slot, original-condition: Private conditions
Slot, original-error: Public conditions
Slot, root-directories: Public classes
Slot, template: Public conditions
Slot, template: Private conditions
Slot, uri-to-package: Private classes
Special Variable, *default-missing-template-value*: Private special variables
Special Variable, *expression-package*: Private special variables
Special Variable, *log*: Private special variables
Special Variable, *name-being-compiled*: Private special variables
Special Variable, *rely-on-warnings-for-variables*: Private special variables
Special Variable, *string-being-compiled*: Private special variables
Special Variable, *tal-attribute-handlers*: Private special variables
Special Variable, *tal-defs*: Private special variables
Special Variable, *tal-env*: Private special variables
Special Variable, *tal-generator*: Private special variables
Special Variable, *tal-tag-handlers*: Private special variables
Special Variable, *tal-templates*: Private special variables
Special Variable, *tal-truename*: Private special variables
Special Variable, *talable-strings*: Private special variables
Special Variable, *uri-to-package*: Public special variables

T
template: Public conditions
template: Private conditions

U
uri-to-package: Private classes


A.4 Data types

Jump to:   B   C   D   E   F   G   H   I   M   N   P   S   T  
Index Entry  Section

B
buffering-sink: Private classes

C
caching-file-system-generator: Public classes
Class, buffering-sink: Private classes
Class, caching-file-system-generator: Public classes
Class, extended-xmls-builder: Private classes
Class, file-system-generator: Public classes
Class, interner: Private classes
Class, tal-generator: Public classes
Class, template-node: Private classes
Class, template-processing-sink: Public classes
compile.lisp: The talcl/src/compile․lisp file
Condition, tal-compilation-condition: Private conditions
Condition, tal-compilation-error: Private conditions
Condition, tal-compilation-warning: Private conditions
Condition, tal-runtime-condition: Public conditions
Condition, tal-runtime-error: Private conditions
Condition, tal-unexpected-eof-compilation-error: Private conditions

D
dom.lisp: The talcl/src/dom․lisp file

E
extended-xmls-builder: Private classes

F
File, compile.lisp: The talcl/src/compile․lisp file
File, dom.lisp: The talcl/src/dom․lisp file
File, generator.lisp: The talcl/src/generator․lisp file
File, handlers.lisp: The talcl/src/handlers․lisp file
File, packages.lisp: The talcl/src/packages․lisp file
File, sax-buffer.lisp: The talcl/src/sax-buffer․lisp file
File, tal-environment.lisp: The talcl/src/tal-environment․lisp file
File, talcl.asd: The talcl/talcl․asd file
file-system-generator: Public classes

G
generator.lisp: The talcl/src/generator․lisp file

H
handlers.lisp: The talcl/src/handlers․lisp file

I
interner: Private classes

M
Module, src: The talcl/src module

N
net.acceleration.talcl: The net․acceleration․talcl package
net.common-lisp.project.bese.tal.core: The net․common-lisp․project․bese․tal․core package
net.common-lisp.project.bese.tal.include-params: The net․common-lisp․project․bese․tal․include-params package

P
Package, net.acceleration.talcl: The net․acceleration․talcl package
Package, net.common-lisp.project.bese.tal.core: The net․common-lisp․project․bese․tal․core package
Package, net.common-lisp.project.bese.tal.include-params: The net․common-lisp․project․bese․tal․include-params package
Package, talcl.system: The talcl․system package
packages.lisp: The talcl/src/packages․lisp file

S
sax-buffer.lisp: The talcl/src/sax-buffer․lisp file
src: The talcl/src module
Structure, tal-template: Private structures
System, talcl: The talcl system

T
tal-compilation-condition: Private conditions
tal-compilation-error: Private conditions
tal-compilation-warning: Private conditions
tal-environment.lisp: The talcl/src/tal-environment․lisp file
tal-generator: Public classes
tal-runtime-condition: Public conditions
tal-runtime-error: Private conditions
tal-template: Private structures
tal-unexpected-eof-compilation-error: Private conditions
talcl: The talcl system
talcl.asd: The talcl/talcl․asd file
talcl.system: The talcl․system package
template-node: Private classes
template-processing-sink: Public classes