The cl-emb Reference Manual

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-emb Reference Manual

This is the cl-emb Reference Manual, version 0.4.3, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Aug 15 03:36:56 2022 GMT+0.

Table of Contents


1 Introduction

cl-emb: Embedded Common Lisp

A mixture of features from eRuby and HTML::Template. You could name it "Yet Another LSP" (LispServer Pages) but it's a bit more than that and not limited to a certain server or text format.

This is a mirror of http://mtn-host.prjek.net/projects/cl-emb

The primary development repository is in Monotone, this repository will receive just the automated snapshots.

License

LLGPL

Installing

(ql:quickload :cl-emb)

CL-EMB can also be installed manually with ASDF-INSTALL.

Usage

[generic function] EXECUTE-EMB name &key env generator-maker => string

NAME can be a registered (with REGISTER-EMB) emb code or a pathname (type PATHNAME) of a file containing the code. Returns a string. Keyword parameter ENV to pass objects to the code. ENV must be a plist. ENV can be accessed within your emb code. The GENERATOR-MAKER is a function which gets called with a key and value from the given ENV and should return a generator function like described here.

[generic function] REGISTER-EMB name code => emb-function

Internally registeres given CODE with NAME to be called with EXECUTE-EMB. CODE can be a string or a pathname (type PATHNAME) of a file containing the code.

[function] PPRINT-EMB-FUNCTION name

DEBUG function. Pretty prints function form, if *DEBUG* was T when the function was registered.

[function] CLEAR-EMB name

Remove named emb code.

[function] CLEAR-EMB-ALL

Remove all registered emb code.

[function] CLEAR-EMB-ALL-FILES

Remove all registered file emb code (registered/executed by a pathname).

[special variable] *EMB-START-MARKER* (default "<%")

Start of scriptlet or expression. Remember that a following #\= indicates an expression.

[special variable] *EMB-END-MARKER* (default "%>")

End of scriptlet or expression.

[special variable] *ESCAPE-TYPE*

Default value for escaping @var output is :RAW Can be changed to :XML, :HTML, :URI, :URL, :URL-ENCODE, :LATEX.

[special variable] *FUNCTION-PACKAGE*

Package the emb function body gets interned to.

Default: (find-package :cl-emb-intern).

[special variable] *DEBUG*

Debugging mode if T. Default: NIL.

[special variable] *LOCKING-FUNCTION*

Function to call to lock access to an internal hash table. Must accept a function designator which must be called with the lock hold.

IMPORTANT: The locking function must return the value of the function it calls!

Example:

(defvar *emb-lock* (kmrcl::make-lock "emb-lock")
  "Lock for CL-EMB.")

(defun emb-lock-function (func)
  "Lock function for CL-EMB."
  (kmrcl::with-lock-held (*emb-lock*)
  (funcall func)))

(setf emb:*locking-function* 'emb-lock-function)

Files get cached and reread when they change.

The emb code consists of normal text (HTML, XML, or any other text format) and special tags you know from eRuby or JSP (JavaServer Pages) which can hold Common Lisp or CL-EMB's template tags, perhaps comparable to JSP's taglib.

Examples

CL-USER> (asdf:oos 'asdf:load-op :cl-emb)
CL-USER> (cl-emb:register-emb "test1"
                              "10 stars: <% (dotimes (i 10) %>*<% ) %>")
#<CL-EMB::EMB-FUNCTION {9B74259}>
CL-USER> (cl-emb:execute-emb "test1")
"10 stars: **********"

CL-USER> (cl-emb:register-emb "test2" "2 + 2 = <%= (+ 2 2) %>")
#<CL-EMB::EMB-FUNCTION {9BCACE1}>
CL-USER> (cl-emb:execute-emb "test2")
"2 + 2 = 4"

CL-USER> (let ((emb:*emb-start-marker* "<?emb")
               (emb:*emb-end-marker* "?>"))
           (emb:register-emb "marker-test"
                             "42 + 42 = <?emb= (+ 42 42) ?>"))
#<CL-EMB::EMB-FUNCTION {97BEFD9}>
CL-USER> (emb:execute-emb "marker-test")
"42 + 42 = 84"

Template Tags

You can use special template tags instead of Common Lisp code between <% and %>. This will be translated to Common Lisp and serves as a simple shortcut for you.

And more important: It's easier to use for non-programmers. A designer can work on HTML code and insert these simple template tags.

Template tags start with @.

Currently supported: @if, @else, @endif, @ifnotempty, @unless, @endunless, @var, @repeat, @endrepeat, @loop, @endloop, @include, @includevar, @call, @with, @endwith, @set, @genloop, @endgenloop, @insert.

@if and @unless check if the given parameter is set in the supplied environment (parameter ENV of EXECUTE-EMB). The environment is a plist with keyword + value pairs. Must be terminated with @endif or @endunless.

@ifnotempty works like @if but considers the empty string false.

@ifequal accepts two parameters interpreted as variable names. It works like @if but checks whether the values of two variables are equal. Variable names are intepreted as in @var.

Note that @ifnotempty and @ifequal are supposed to be used together with @else and @endif.

@var emits the corresponding value from the environment. Uses the escape type defined in *ESCAPE-TYPE* (Default :raw, no escaping) or with -escape modifier. E.g. <% @var foo -escape xml %> or without modifier <% @var foo %> Supported escaping: raw, xml (aka html), uri (aka url or url-encode), latex.

@insert inserts a given (text) file. Parameter from the environment. E.g. <% @insert textfile %>.

@repeat repeats everything between it and @endrepeat the given times. Parameter can be a number or a name. The name will be used to lookup the corresponding value from the environment.

@loop loops over a named list in the environment. Environment gets set to current plist inside this list. Must be terminated with @endloop.

@include includes a given file. Relative to current template. @includevar does the same, but the parameter is treated like a variable name containing the path to the file. Variable name is treated like in @var.

@call calls a given emb-function, which was registered with REGISTER-EMB.

@with is similar to @loop as it sets the current environment to the named plist. @loop needs a list of plists and @with just a plist associated to the given name. Block ends in @endwith.

@set is used to set special variables like *ESCAPE-TYPE* from within a emb code. This way a default for a file can be specified in the file itself. The variables are changed for the current and called/included code. Changes to the variables in called/included code don't effect the caller/ includer. E.g. <% @set escape=uri %>. Currently supported: escape (raw, xml, html, url, uri, url-encode, latex).

@genloop starts a special kind of loop: a generator loop. It must be terminated by @endgenloop and operates on a generator returned by the given GENERATOR-MAKER (see EXECUTE-EMB). The GENERATOR-MAKER gets called with two parameters: the key (which is the argument to @genloop) and the corresponding value in the plist. Each time in the loop the generator is called first with the parameter :TEST to see if there's data left. The generator must return a plist on :NEXT, which will be the current ENV (like @with or within a normal @loop).

The parameters which access the environment can just be the name of a keyword symbol in the plist. foo -> :FOO in (:FOO "bar") Or you can provide a path within a nested plist structure by dividing the parts of the path with a slash. foo/bar -> Value of :BAR inside the plist at :FOO. (:FOO (:BAR "yeah")) -> "yeah" Starting the parameter with a slash lets it traverse the nested plists from the top. That way you can access top values inside loops.

Writing <% @var foo/bar/quux %> can be translated to (GETF (GETF (GETF ENV :FOO) :BAR) :QUUX).

Examples

CL-USER> (cl-emb:register-emb "test1"
                              "Foo: <% @if foo %>Yes!<% @else %>No!<% @endif %>")
#<CL-EMB::EMB-FUNCTION {9C0F2D1}>
CL-USER> (cl-emb:execute-emb "test1" :env '(:foo t))
"Foo: Yes!"
CL-USER> (cl-emb:execute-emb "test1")
"Foo: No!"
CL-USER> (cl-emb:execute-emb "test1" :env '(:foo nil))
"Foo: No!"

CL-USER> (cl-emb:register-emb "test2"
                              "What is set? -> <% @call test1 %>")
#<CL-EMB::EMB-FUNCTION {9C526E9}>
CL-USER> (cl-emb:execute-emb "test2" :env '(:foo t))
"What is set? -> Foo: Yes!"

CL-USER> (cl-emb:register-emb "test3"
                              "10 stars: <% @repeat 10 %>*<% @endrepeat %>")
#<CL-EMB::EMB-FUNCTION {9C9F1D1}>
CL-USER> (cl-emb:execute-emb "test3")
"10 stars: **********"

CL-USER> (cl-emb:register-emb "test4"
                              "<% @loop numbers %>[<% @var de %>,<% @var en %>]<% @endloop %>")
#<CL-EMB::EMB-FUNCTION {9174DF1}>
CL-USER> (cl-emb:execute-emb "test4"
                             :env '(:numbers ((:de "EINS" :en "ONE")
                                              (:de "ZWEI" :en "TWO"))))
"[EINS,ONE][ZWEI,TWO]"

CL-USER> (emb:register-emb "test5"
                           "<a href=\"http://somewhere.test/test.cgi?<% @var foo -escape uri %>\"><% @var foo %></a>")
#<CL-EMB::EMB-FUNCTION {9FBF5F1}>
CL-USER> (let ((emb:*escape-type* :html))
           (emb:execute-emb "test5" :env '(:foo "10 > 7")))
"<a href=\"http://somewhere.test/test.cgi?10+%3E+7\">10 &gt; 7</a>"

CL-USER> (emb:register-emb "test6" "1. <% @with one %>BAZ: <% @var baz %><% @endwith%>
2. <% @with two %>BAZ: <% @var baz %><% @endwith%>")
#<CL-EMB::EMB-FUNCTION {9916EB1}>
CL-USER> (emb:execute-emb "test6" :env '(:one (:baz "first")
                                         :two (:baz "second")))
"1. BAZ: first
2. BAZ: second"

CL-USER> (emb:register-emb "test7" " - <% @var foo -escape uri %> - ")
#<CL-EMB::EMB-FUNCTION {96F1239}>
CL-USER> (emb:pprint-emb-function "test7")

(LAMBDA (&OPTIONAL CL-EMB-INTERN::ENV)
  (WITH-OUTPUT-TO-STRING (*STANDARD-OUTPUT*)
    (PROGN
     (WRITE-STRING " - ")
     (FORMAT T "~A" (CL-EMB::ECHO (GETF CL-EMB-INTERN::ENV :FOO) :ESCAPE :URI))
     (WRITE-STRING " - "))))
; No value

CL-USER> (emb:register-emb "test8" "<% @set escape=xml %>--<% @var hey %>--")
#<CL-EMB::EMB-FUNCTION {962B839}>
CL-USER> (emb:register-emb "test9" "--<% @var hey %>--<% @call test8 %>--<% @var hey %>--")
#<CL-EMB::EMB-FUNCTION {96931A9}>
CL-USER> (emb:execute-emb "test9" :env '(:hey "5>2"))
"--5>2----5&gt;2----5>2--"

CL-USER> (emb:register-emb "test10" "Square root from 1 to <% @var numbers %>: <% @genloop numbers %>sqrt(<% @var number %>) = <% @var sqrt %> <% @endgenloop %>")
#<CL-EMB::EMB-FUNCTION {581EC765}>
CL-USER> (defun make-sqrt-1-to-n-gen (key n)
           (declare (ignore key))
           (let ((i 1))
             #'(lambda (cmd)
                 (ecase cmd
                   (:test (> i n))
                   (:get `(:number ,i :sqrt ,(sqrt i)))
                   (:next (prog1 `(:number ,i :sqrt ,(sqrt i))
                            (unless (> i n)
                              (incf i))))))))
MAKE-SQRT-1-TO-N-GEN
CL-USER> (emb:execute-emb "test10" :env '(:numbers 10) :generator-maker 'make-sqrt-1-to-n-gen)
"Square root from 1 to 10: sqrt(1) = 1.0 sqrt(2) = 1.4142135 sqrt(3) = 1.7320508 sqrt(4) = 2.0 sqrt(5) = 2.236068 sqrt(6) = 2.4494898 sqrt(7) = 2.6457512 sqrt(8) = 2.828427 sqrt(9) = 3.0 sqrt(10) = 3.1622777 "

CL-USER> (emb:register-emb "test11" "<% @loop bands %>Band: <% @var band %> (Genre: <% @var /genre %>)<br><% @endloop %>")
#<CL-EMB::EMB-FUNCTION {58ADB12D}>
CL-USER> (emb:execute-emb "test11" :env '(:genre "Rock" :bands ((:band "Queen") (:band "The Rolling Stones") (:band "ZZ Top"))))
"Band: Queen (Genre: Rock)<br>Band: The Rolling Stones (Genre: Rock)<br>Band: ZZ Top (Genre: Rock)<br>"

CL-USER> (emb:register-emb "test12" "<% @repeat /foo/bar/count %>*<% @endrepeat %>")
#<CL-EMB::EMB-FUNCTION {58B7583D}>
CL-USER> (emb:execute-emb "test12" :env '(:foo (:bar (:count 42))))
"******************************************"

CL-USER> (emb:register-emb "test13" "The file:<pre><% @insert textfile %></pre>")
#<CL-EMB::EMB-FUNCTION {5894326D}>
CL-USER> (emb:execute-emb "test13" :env '(:textfile "/etc/gentoo-release"))
"The file:<pre>Gentoo Base System version 1.6.14
</pre>"

Credits

Uses code from John Wiseman. See http://lemonodor.com/archives/000128.html and lsp-LICENSE.txt Thanks to Edi Weitz for letting me use his code for ESCAPE-FOR-XML.

Thanks to Eitarow Fukamachi for the whitespace-trimming patch.

Thanks to Christoph Finkensiep for making getf* a generic function.

Author

Stefan Scholl stesch@no-spoon.de

Current Maintainer

Michael Raskin 38a938c2@rambler.ru


2 Systems

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


Previous: , Up: Systems   [Contents][Index]

2.1 cl-emb

A templating system for Common Lisp

Author

Stefan Scholl <stesch@no-spoon.de>

License

Lesser Lisp General Public License

Version

0.4.3

Dependency

cl-ppcre (system).

Source

cl-emb.asd.

Child Components

3 Files

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


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp   [Contents][Index]

3.1.1 cl-emb/cl-emb.asd

Source

cl-emb.asd.

Parent Component

cl-emb (system).

ASDF Systems

cl-emb.

Packages

cl-emb.system.


Next: , Previous: , Up: Lisp   [Contents][Index]

3.1.2 cl-emb/packages.lisp

Source

cl-emb.asd.

Parent Component

cl-emb (system).

Packages

cl-emb.


Previous: , Up: Lisp   [Contents][Index]

3.1.3 cl-emb/emb.lisp

Dependency

packages.lisp (file).

Source

cl-emb.asd.

Parent Component

cl-emb (system).

Packages

cl-emb-intern.

Public Interface
Internals

4 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

4.1 cl-emb-intern

Source

emb.lisp.

Use List

common-lisp.


Next: , Previous: , Up: Packages   [Contents][Index]

4.2 cl-emb.system

Source

cl-emb.asd.

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

Previous: , Up: Packages   [Contents][Index]

4.3 cl-emb

Source

packages.lisp.

Nickname

emb

Use List

common-lisp.

Public Interface
Internals

5 Definitions

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


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Public Interface


5.1.1 Special variables

Special Variable: *case-sensitivity*

Whether use case-sensitive mode (the default) or case-insensitive mode. If this is set NIL, the case of keys in ENV will be ignored.

Package

cl-emb.

Source

emb.lisp.

Special Variable: *debug*

Debugging for CL-EMB.

Package

cl-emb.

Source

emb.lisp.

Special Variable: *emb-end-marker*

End of scriptlet or expression.

Package

cl-emb.

Source

emb.lisp.

Special Variable: *emb-start-marker*

Start of scriptlet or expression. Remember that a following #= indicates an expression.

Package

cl-emb.

Source

emb.lisp.

Special Variable: *escape-type*

Default value for escaping @var output.

Package

cl-emb.

Source

emb.lisp.

Special Variable: *function-package*

Package the emb function body gets interned to.

Package

cl-emb.

Source

emb.lisp.

Special Variable: *locking-function*

Function to call to lock access to an internal hash table. Must accept a function designator which must be called with the lock hold.

Package

cl-emb.

Source

emb.lisp.


5.1.2 Ordinary functions

Function: clear-emb (name)

Remove named emb code.

Package

cl-emb.

Source

emb.lisp.

Function: clear-emb-all ()

Remove all registered emb code.

Package

cl-emb.

Source

emb.lisp.

Function: clear-emb-all-files ()

Remove all registered file emb code (registered/executed by a pathname).

Package

cl-emb.

Source

emb.lisp.

Function: clear-expand-template-tag-hash ()

Removes all scanners for template tags from cache.

Package

cl-emb.

Source

emb.lisp.

Function: construct-emb-function (code)

Builds and compiles the emb-function out of template code.

Package

cl-emb.

Source

emb.lisp.

Function: pprint-emb-function (name)

DEBUG function. Pretty prints function form, if *DEBUG* was t when the function was registered.

Package

cl-emb.

Source

emb.lisp.


5.1.3 Generic functions

Generic Function: execute-emb (name &key env generator-maker)

Execute named emb code. Returns a string. Keyword parameter ENV to pass objects to the code. ENV must be a plist.

Package

cl-emb.

Source

emb.lisp.

Methods
Method: execute-emb ((name pathname) &key env generator-maker)
Method: execute-emb (name &key env generator-maker)
Generic Function: getf* (thing key &optional default)

Returns a value by a key

Package

cl-emb.

Source

emb.lisp.

Methods
Method: getf* ((object standard-object) key &optional default)

Uses slot-value to get a value from a standard object, where the slot name is derived from key

Method: getf* ((table hash-table) key &optional default)

Uses gethash to get a value from a hash-table

Method: getf* ((plist list) key &optional default)

Uses getf to get a value from a plist

Generic Function: register-emb (name code)

Register given CODE as NAME.

Package

cl-emb.

Source

emb.lisp.

Methods
Method: register-emb (name (code string))
Method: register-emb (name (code pathname))

5.2 Internals


Next: , Previous: , Up: Internals   [Contents][Index]

5.2.1 Special variables

Special Variable: *emb-stream-redirection*
Package

cl-emb.

Source

emb.lisp.

Special Variable: *functions*

Table mapping names to emb-function instances.

Package

cl-emb.

Source

emb.lisp.

Special Variable: *latex-replacements*
Package

cl-emb.

Source

emb.lisp.

Special Variable: *set-parameter-list*
Package

cl-emb.

Source

emb.lisp.

Special Variable: *set-special-list*
Package

cl-emb.

Source

emb.lisp.

Special Variable: *template-tag-expand*

List of conses. FIRST is regex, REST replacement (STRING or FUNCTION). Functions get called with two parameters: match and list of registers.

Package

cl-emb.

Source

emb.lisp.


5.2.2 Macros

Macro: getf-emb (key)

Search either plist TOPENV or ENV according to the search path in KEY. KEY is a string.

Package

cl-emb.

Source

emb.lisp.

Macro: with-lock (&body body)

Locking all accesses to *functions*

Package

cl-emb.

Source

emb.lisp.


Next: , Previous: , Up: Internals   [Contents][Index]

5.2.3 Ordinary functions

Function: autofuncall (v)
Package

cl-emb.

Source

emb.lisp.

Function: construct-emb-body-string (code &optional start)

Takes a string containing an emb code and returns a string containing the lisp code that implements that emb code.

Package

cl-emb.

Source

emb.lisp.

Function: contents-of-file (pathname)

Returns a string with the entire contents of the specified file.

Package

cl-emb.

Source

emb.lisp.

Function: echo (string &key escape)

Emit given STRING. Escape if wanted (global or via ESCAPE keyword). STRING can be NIL.

Package

cl-emb.

Source

emb.lisp.

Function: escape-by-table (string replacements)
Package

cl-emb.

Source

emb.lisp.

Function: escape-for-latex (string)
Package

cl-emb.

Source

emb.lisp.

Function: escape-for-xml (string)
Package

cl-emb.

Source

emb.lisp.

Function: expand-template-tags (string)

Expand template-tags (@if, @else, ...) to Common Lisp. Replacement and regex in *TEMPLATE-TAG-EXPAND*

Package

cl-emb.

Source

emb.lisp.

Function: get-emb-function (name)

Returns the named function implementing a registered emb code. Rebuilds it when text template was a file which has been modified.

Package

cl-emb.

Source

emb.lisp.

Function: insert-file (filename)

Get given file FILENAME.

Package

cl-emb.

Source

emb.lisp.

Function: make-emb-function (path time function &optional form)

Constructor for class EMB-FUNCTION.

Package

cl-emb.

Source

emb.lisp.

Function: next-code (string start)
Package

cl-emb.

Source

emb.lisp.

Function: scanner-for-expand-template-tag (tag)

Returns a CL-PPCRE scanner which matches a template tag expanded by EXPAND-TEMPLATE-TAGS. Scanners are memoized in SCANNER-HASH once they are created.

Package

cl-emb.

Source

emb.lisp.

Function: set-specials (match &rest registers)

Parse parameter(s) of @set and set special variables like e. g. *ESCAPE-TYPE*.

Package

cl-emb.

Source

emb.lisp.

Function: string-right-trim-spaces-until-newline (string)
Package

cl-emb.

Source

emb.lisp.

Function: string-to-keyword (string)

Interns a given STRING uppercased in the keyword package.

Package

cl-emb.

Source

emb.lisp.

Function: tag-template (tag-type)
Package

cl-emb.

Source

emb.lisp.

Function: url-encode (string)

URL-encode a string.

Package

cl-emb.

Source

emb.lisp.


Next: , Previous: , Up: Internals   [Contents][Index]

5.2.4 Generic functions

Generic Reader: emb-function-form (object)
Package

cl-emb.

Methods
Reader Method: emb-function-form ((emb-function emb-function))

automatically generated reader method

Source

emb.lisp.

Target Slot

form.

Generic Writer: (setf emb-function-form) (object)
Package

cl-emb.

Methods
Writer Method: (setf emb-function-form) ((emb-function emb-function))

automatically generated writer method

Source

emb.lisp.

Target Slot

form.

Generic Reader: emb-function-function (object)
Package

cl-emb.

Methods
Reader Method: emb-function-function ((emb-function emb-function))

automatically generated reader method

Source

emb.lisp.

Target Slot

function.

Generic Writer: (setf emb-function-function) (object)
Package

cl-emb.

Methods
Writer Method: (setf emb-function-function) ((emb-function emb-function))

automatically generated writer method

Source

emb.lisp.

Target Slot

function.

Generic Reader: emb-function-path (object)
Package

cl-emb.

Methods
Reader Method: emb-function-path ((emb-function emb-function))

automatically generated reader method

Source

emb.lisp.

Target Slot

path.

Generic Writer: (setf emb-function-path) (object)
Package

cl-emb.

Methods
Writer Method: (setf emb-function-path) ((emb-function emb-function))

automatically generated writer method

Source

emb.lisp.

Target Slot

path.

Generic Reader: emb-function-time (object)
Package

cl-emb.

Methods
Reader Method: emb-function-time ((emb-function emb-function))

automatically generated reader method

Source

emb.lisp.

Target Slot

time.

Generic Writer: (setf emb-function-time) (object)
Package

cl-emb.

Methods
Writer Method: (setf emb-function-time) ((emb-function emb-function))

automatically generated writer method

Source

emb.lisp.

Target Slot

time.


Previous: , Up: Internals   [Contents][Index]

5.2.5 Classes

Class: emb-function
Package

cl-emb.

Source

emb.lisp.

Direct methods
Direct slots
Slot: path
Initargs

:path

Readers

emb-function-path.

Writers

(setf emb-function-path).

Slot: time
Package

common-lisp.

Initargs

:time

Readers

emb-function-time.

Writers

(setf emb-function-time).

Slot: function
Package

common-lisp.

Initargs

:function

Readers

emb-function-function.

Writers

(setf emb-function-function).

Slot: form
Initargs

:form

Readers

emb-function-form.

Writers

(setf emb-function-form).


Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts


Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   (  
A   C   E   F   G   I   M   N   P   R   S   T   U   W  
Index Entry  Section

(
(setf emb-function-form): Private generic functions
(setf emb-function-form): Private generic functions
(setf emb-function-function): Private generic functions
(setf emb-function-function): Private generic functions
(setf emb-function-path): Private generic functions
(setf emb-function-path): Private generic functions
(setf emb-function-time): Private generic functions
(setf emb-function-time): Private generic functions

A
autofuncall: Private ordinary functions

C
clear-emb: Public ordinary functions
clear-emb-all: Public ordinary functions
clear-emb-all-files: Public ordinary functions
clear-expand-template-tag-hash: Public ordinary functions
construct-emb-body-string: Private ordinary functions
construct-emb-function: Public ordinary functions
contents-of-file: Private ordinary functions

E
echo: Private ordinary functions
emb-function-form: Private generic functions
emb-function-form: Private generic functions
emb-function-function: Private generic functions
emb-function-function: Private generic functions
emb-function-path: Private generic functions
emb-function-path: Private generic functions
emb-function-time: Private generic functions
emb-function-time: Private generic functions
escape-by-table: Private ordinary functions
escape-for-latex: Private ordinary functions
escape-for-xml: Private ordinary functions
execute-emb: Public generic functions
execute-emb: Public generic functions
execute-emb: Public generic functions
expand-template-tags: Private ordinary functions

F
Function, autofuncall: Private ordinary functions
Function, clear-emb: Public ordinary functions
Function, clear-emb-all: Public ordinary functions
Function, clear-emb-all-files: Public ordinary functions
Function, clear-expand-template-tag-hash: Public ordinary functions
Function, construct-emb-body-string: Private ordinary functions
Function, construct-emb-function: Public ordinary functions
Function, contents-of-file: Private ordinary functions
Function, echo: Private ordinary functions
Function, escape-by-table: Private ordinary functions
Function, escape-for-latex: Private ordinary functions
Function, escape-for-xml: Private ordinary functions
Function, expand-template-tags: Private ordinary functions
Function, get-emb-function: Private ordinary functions
Function, insert-file: Private ordinary functions
Function, make-emb-function: Private ordinary functions
Function, next-code: Private ordinary functions
Function, pprint-emb-function: Public ordinary functions
Function, scanner-for-expand-template-tag: Private ordinary functions
Function, set-specials: Private ordinary functions
Function, string-right-trim-spaces-until-newline: Private ordinary functions
Function, string-to-keyword: Private ordinary functions
Function, tag-template: Private ordinary functions
Function, url-encode: Private ordinary functions

G
Generic Function, (setf emb-function-form): Private generic functions
Generic Function, (setf emb-function-function): Private generic functions
Generic Function, (setf emb-function-path): Private generic functions
Generic Function, (setf emb-function-time): Private generic functions
Generic Function, emb-function-form: Private generic functions
Generic Function, emb-function-function: Private generic functions
Generic Function, emb-function-path: Private generic functions
Generic Function, emb-function-time: Private generic functions
Generic Function, execute-emb: Public generic functions
Generic Function, getf*: Public generic functions
Generic Function, register-emb: Public generic functions
get-emb-function: Private ordinary functions
getf*: Public generic functions
getf*: Public generic functions
getf*: Public generic functions
getf*: Public generic functions
getf-emb: Private macros

I
insert-file: Private ordinary functions

M
Macro, getf-emb: Private macros
Macro, with-lock: Private macros
make-emb-function: Private ordinary functions
Method, (setf emb-function-form): Private generic functions
Method, (setf emb-function-function): Private generic functions
Method, (setf emb-function-path): Private generic functions
Method, (setf emb-function-time): Private generic functions
Method, emb-function-form: Private generic functions
Method, emb-function-function: Private generic functions
Method, emb-function-path: Private generic functions
Method, emb-function-time: Private generic functions
Method, execute-emb: Public generic functions
Method, execute-emb: Public generic functions
Method, getf*: Public generic functions
Method, getf*: Public generic functions
Method, getf*: Public generic functions
Method, register-emb: Public generic functions
Method, register-emb: Public generic functions

N
next-code: Private ordinary functions

P
pprint-emb-function: Public ordinary functions

R
register-emb: Public generic functions
register-emb: Public generic functions
register-emb: Public generic functions

S
scanner-for-expand-template-tag: Private ordinary functions
set-specials: Private ordinary functions
string-right-trim-spaces-until-newline: Private ordinary functions
string-to-keyword: Private ordinary functions

T
tag-template: Private ordinary functions

U
url-encode: Private ordinary functions

W
with-lock: Private macros

Jump to:   (  
A   C   E   F   G   I   M   N   P   R   S   T   U   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
F   P   S   T  
Index Entry  Section

*
*case-sensitivity*: Public special variables
*debug*: Public special variables
*emb-end-marker*: Public special variables
*emb-start-marker*: Public special variables
*emb-stream-redirection*: Private special variables
*escape-type*: Public special variables
*function-package*: Public special variables
*functions*: Private special variables
*latex-replacements*: Private special variables
*locking-function*: Public special variables
*set-parameter-list*: Private special variables
*set-special-list*: Private special variables
*template-tag-expand*: Private special variables

F
form: Private classes
function: Private classes

P
path: Private classes

S
Slot, form: Private classes
Slot, function: Private classes
Slot, path: Private classes
Slot, time: Private classes
Special Variable, *case-sensitivity*: Public special variables
Special Variable, *debug*: Public special variables
Special Variable, *emb-end-marker*: Public special variables
Special Variable, *emb-start-marker*: Public special variables
Special Variable, *emb-stream-redirection*: Private special variables
Special Variable, *escape-type*: Public special variables
Special Variable, *function-package*: Public special variables
Special Variable, *functions*: Private special variables
Special Variable, *latex-replacements*: Private special variables
Special Variable, *locking-function*: Public special variables
Special Variable, *set-parameter-list*: Private special variables
Special Variable, *set-special-list*: Private special variables
Special Variable, *template-tag-expand*: Private special variables

T
time: Private classes

Jump to:   *  
F   P   S   T