This is the yaclml Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 07:09:44 2024 GMT+0.
yaclml/yaclml.asd
yaclml/src/packages.lisp
yaclml/src/yaclml.lisp
yaclml/src/attribute-bind.lisp
yaclml/src/bracket-reader.lisp
yaclml/src/tags/html4.lisp
yaclml/src/tags/standard-yaclml.lisp
yaclml/src/tags/svg.lisp
yaclml/src/tags/html+.lisp
yaclml/src/tal/xmls.lisp
yaclml/src/tal/compile.lisp
yaclml/src/tal/generator.lisp
yaclml/src/tal/handlers.lisp
yaclml/src/tal/tal-environment.lisp
The main system appears first, followed by any subsystem dependency.
Modules are listed depth-first from the system components tree.
yaclml/src
yaclml
(system).
packages.lisp
(file).
yaclml.lisp
(file).
attribute-bind.lisp
(file).
bracket-reader.lisp
(file).
tags
(module).
tal
(module).
yaclml/src/tags
yaclml.lisp
(file).
src
(module).
html4.lisp
(file).
standard-yaclml.lisp
(file).
svg.lisp
(file).
html+.lisp
(file).
yaclml/src/tal
yaclml.lisp
(file).
tags
(module).
src
(module).
xmls.lisp
(file).
compile.lisp
(file).
generator.lisp
(file).
handlers.lisp
(file).
tal-environment.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
yaclml/yaclml.asd
yaclml/src/packages.lisp
yaclml/src/yaclml.lisp
yaclml/src/attribute-bind.lisp
yaclml/src/bracket-reader.lisp
yaclml/src/tags/html4.lisp
yaclml/src/tags/standard-yaclml.lisp
yaclml/src/tags/svg.lisp
yaclml/src/tags/html+.lisp
yaclml/src/tal/xmls.lisp
yaclml/src/tal/compile.lisp
yaclml/src/tal/generator.lisp
yaclml/src/tal/handlers.lisp
yaclml/src/tal/tal-environment.lisp
yaclml/src/yaclml.lisp
packages.lisp
(file).
attribute-bind.lisp
(file).
src
(module).
*yaclml-indent*
(special variable).
*yaclml-stream*
(special variable).
deftag
(macro).
deftag-macro
(macro).
emit-body
(function).
emit-close-tag
(function).
emit-code
(function).
emit-empty-tag
(function).
emit-html
(function).
emit-open-tag
(function).
emit-princ
(function).
emit-princ-attributes
(function).
enable-xml-syntax
(macro).
with-xml-syntax
(function).
with-yaclml-output-to-string
(macro).
with-yaclml-stream
(macro).
wrap-in-tag
(macro).
%enable-xml-syntax
(function).
%yaclml-code%
(special variable).
%yaclml-indentation-depth%
(special variable).
*expander-macros*
(special variable).
*expanders*
(special variable).
*tal-truename*
(special variable).
*xml-reader-close-char*
(special variable).
*xml-reader-open-char*
(special variable).
def-simple-xtag
(macro).
emit-attribute
(macro).
emit-attribute-value
(function).
emit-form
(function).
emit-indentation
(function).
emit-princ-attribute
(function).
xml-reader-open
(function).
yaclml-constant-p
(function).
yaclml/src/attribute-bind.lisp
packages.lisp
(file).
src
(module).
(setf tag)
(writer method).
tag
(reader method).
attribute
(reader method).
(setf attribute)
(writer method).
attribute-bind
(macro).
attribute-type
(reader method).
(setf attribute-type)
(writer method).
copy-runtime-attribute-list-reference
(function).
illegal-attribute-use
(condition).
make-runtime-attribute-list-reference
(function).
parse-attribute-spec
(function).
ralr-form
(reader).
(setf ralr-form)
(writer).
runtime-attribute-list-reference
(structure).
runtime-attribute-list-reference-p
(function).
tag-related-error
(condition).
unrecognized-attribute
(condition).
yaclml/src/bracket-reader.lisp
packages.lisp
(file).
tags
(module).
src
(module).
enable-yaclml-syntax
(function).
*readers*
(special variable).
[⎵reader
(function).
disable-yaclml-syntax
(function).
yaclml/src/tags/html4.lisp
tags
(module).
+xhtml-frameset-doctype+
(special variable).
+xhtml-strict-doctype+
(special variable).
+xhtml-transitional-doctype+
(special variable).
a
(macro).
abbr
(macro).
acronym
(macro).
address
(macro).
area
(macro).
b
(macro).
base
(macro).
bdo
(macro).
big
(macro).
blockquote
(macro).
body
(macro).
br
(macro).
button
(macro).
caption
(macro).
cite
(macro).
code
(macro).
col
(macro).
colgroup
(macro).
dd
(macro).
del
(macro).
dfn
(macro).
div
(macro).
dl
(macro).
dt
(macro).
em
(macro).
embed
(macro).
fieldset
(macro).
form
(macro).
frame
(macro).
frameset
(macro).
h1
(macro).
h2
(macro).
h3
(macro).
h4
(macro).
h5
(macro).
h6
(macro).
head
(macro).
hr
(macro).
href
(function).
html
(macro).
i
(macro).
iframe
(macro).
img
(macro).
input
(macro).
ins
(macro).
kbd
(macro).
label
(macro).
legend
(macro).
li
(macro).
link
(macro).
map
(macro).
meta
(macro).
noframes
(macro).
noscript
(macro).
object
(macro).
ol
(macro).
optgroup
(macro).
option
(macro).
p
(macro).
pre
(macro).
q
(macro).
samp
(macro).
script
(macro).
select
(macro).
small
(macro).
span
(macro).
strong
(macro).
style
(macro).
sub
(macro).
sup
(macro).
table
(macro).
tbody
(macro).
td
(macro).
textarea
(macro).
tfoot
(macro).
th
(macro).
thead
(macro).
title
(macro).
tr
(macro).
tt
(macro).
ul
(macro).
var
(macro).
def-empty-html-tag
(macro).
def-html-tag
(macro).
make-effective-attributes
(function).
yaclml/src/tags/standard-yaclml.lisp
html4.lisp
(file).
tags
(module).
yaclml/src/tags/svg.lisp
standard-yaclml.lisp
(file).
tags
(module).
a
(macro).
altglyph
(macro).
altglyphdef
(macro).
altglyphitem
(macro).
animate
(macro).
animatecolor
(macro).
animatemotion
(macro).
animatetransform
(macro).
circle
(macro).
clippath
(macro).
color-profile
(macro).
cursor
(macro).
definition-src
(macro).
defs
(macro).
desc
(macro).
ellipse
(macro).
feblend
(macro).
fecolormatrix
(macro).
fecomponenttransfer
(macro).
fecomposite
(macro).
feconvolvematrix
(macro).
fediffuselighting
(macro).
fedisplacementmap
(macro).
fedistantlight
(macro).
feflood
(macro).
fefunca
(macro).
fefuncb
(macro).
fefuncg
(macro).
fefuncr
(macro).
fegaussianblur
(macro).
feimage
(macro).
femerge
(macro).
femergenode
(macro).
femorphology
(macro).
feoffset
(macro).
fepointlight
(macro).
fespecularlighting
(macro).
fespotlight
(macro).
fetile
(macro).
feturbulence
(macro).
filter
(macro).
font
(macro).
font-face
(macro).
font-face-format
(macro).
font-face-name
(macro).
font-face-src
(macro).
font-face-uri
(macro).
foreignobject
(macro).
g
(macro).
glyph
(macro).
glyphref
(macro).
hkern
(macro).
image
(macro).
line
(macro).
linear-gradient
(macro).
marker
(macro).
mask
(macro).
metadata
(macro).
missing-glyph
(macro).
mpath
(macro).
path
(macro).
pattern
(macro).
polygon
(macro).
polyline
(macro).
radialgradient
(macro).
rect
(macro).
script
(macro).
stop
(macro).
style
(macro).
svg
(macro).
svg-set
(macro).
svg-symbol
(macro).
switch
(macro).
text
(macro).
textpath
(macro).
title
(macro).
tref
(macro).
tspan
(macro).
use
(macro).
view
(macro).
vkern
(macro).
concat-symbol
(function).
def-svg-tag
(macro).
yaclml/src/tags/html+.lisp
svg.lisp
(file).
tags
(module).
*html-prologue*
(special variable).
yaclml/src/tal/xmls.lisp
tal
(module).
*convert-entities*
(special variable).
*entities*
(special variable).
make-node
(function).
node-attrs
(function).
(setf node-attrs)
(function).
node-children
(function).
(setf node-children)
(function).
node-name
(function).
(setf node-name)
(function).
node-ns
(function).
(setf node-ns)
(function).
parse
(function).
*strip-comments*
(special variable).
*test-verbose*
(special variable).
attr-or-nsdecl
(function).
attr-text-dq
(function).
attr-text-sq
(function).
chardata
(function).
comment
(function).
comment-char
(function).
comment-or-cdata
(function).
comment-or-doctype
(function).
content
(function).
copy-element
(function).
copy-state
(function).
defmatch
(macro).
defrule
(macro).
digit
(function).
document
(function).
eat
(macro).
element
(function).
element
(structure).
element-p
(function).
element-type
(reader).
(setf element-type)
(writer).
element-val
(reader).
(setf element-val)
(writer).
end-tag
(function).
entitify
(function).
entity
(reader method).
(setf entity)
(writer method).
entity-of
(function).
expected
(reader method).
(setf expected)
(writer method).
found
(reader method).
(setf found)
(writer method).
intern-xml-name
(function).
letter
(function).
lookup-namespace
(function).
lookup-package
(function).
make-element
(function).
make-extendable-string
(function).
make-state
(function).
match
(macro).
match*
(macro).
match+
(macro).
match-seq
(macro).
matchfn
(macro).
message
(reader method).
(setf message)
(writer method).
misc
(function).
must
(macro).
name
(function).
namechar
(function).
namespace
(reader method).
(setf namespace)
(writer method).
ncname
(function).
ncname-char
(function).
next-char
(symbol macro).
none-or-more
(function).
offset
(reader method).
(setf offset)
(writer method).
one-or-more
(function).
peek
(macro).
peek-stream
(function).
processing-instruction
(function).
processing-instruction-or-xmldecl
(function).
push-string
(function).
qname
(function).
read-stream
(function).
reference-to-undeclared-namespace
(condition).
resolve-entity
(function).
resolve-namespace
(function).
start-tag
(function).
state
(structure).
state-got-doctype
(reader).
(setf state-got-doctype)
(writer).
state-lines
(reader).
(setf state-lines)
(writer).
state-nsstack
(reader).
(setf state-nsstack)
(writer).
state-p
(function).
state-stream
(reader).
(setf state-stream)
(writer).
unmatched-end-tag
(condition).
unresovable-entity
(condition).
ws
(function).
ws-attr-or-nsdecl
(function).
ws-char
(function).
xml-parse-error
(condition).
xmldecl
(function).
yaclml/src/tal/compile.lisp
xmls.lisp
(file).
tal-environment.lisp
(file).
tal
(module).
*uri-to-package*
(special variable).
compile-tal-file
(function).
compile-tal-string
(function).
def-attribute-handler
(macro).
def-tag-handler
(macro).
read-tal-expression-from-string
(function).
transform-lxml-form
(function).
transform-lxml-tree
(function).
$⎵tal⎵reader
(function).
*expression-package*
(special variable).
*tal-attribute-handlers*
(special variable).
*tal-tag-handlers*
(special variable).
bind-tal-compile-environment
(macro).
bind-tal-compile-environment*
(macro).
compile-tal-string-to-lambda
(function).
parse-tal-attribute-value
(function).
with-tal-compile-environment
(macro).
yaclml/src/tal/generator.lisp
compile.lisp
(file).
tal
(module).
file-system-generator
(class).
load-tal
(generic function).
root-directories
(reader method).
(setf root-directories)
(writer method).
tal-generator
(class).
template-truename
(generic function).
*tal-templates*
(special variable).
cachep
(reader method).
(setf cachep)
(writer method).
copy-tal-template
(function).
make-tal-template
(function).
preprocess-tal
(generic function).
tal-template
(structure).
tal-template-p
(function).
tal-template.file-name
(reader).
(setf tal-template.file-name)
(writer).
tal-template.function
(reader).
(setf tal-template.function)
(writer).
tal-template.last-load-time
(reader).
(setf tal-template.last-load-time)
(writer).
yaclml/src/tal/handlers.lisp
compile.lisp
(file).
tal
(module).
yaclml/src/tal/tal-environment.lisp
tal
(module).
extend-environment
(function).
fetch-tal-value
(generic function).
(setf fetch-tal-value)
(generic function).
lookup-tal-variable
(generic function).
(setf lookup-tal-variable)
(generic function).
make-standard-tal-environment
(function).
tal-env
(function).
tal-value
(macro).
read-tal-file-into-string
(function).
setf-tal-variable-error
(condition).
unfound-tal-variable
(condition).
unsettable-tal-variable
(condition).
with-tal-compilation-unit
(macro).
Packages are listed by definition order.
it.bese.yaclml.xml
it.bese.yaclml.svg
it.bese.yaclml.xlink
it.bese.yaclml.tal
it.bese.yaclml.tal.include-params
it.bese.yaclml.tags
it.bese.yaclml
it.bese.yaclml.xmls
it.bese.yaclml.svg
SVG library.
svg
<svg
common-lisp
.
it.bese.yaclml
.
iterate
.
a
(macro).
altglyph
(macro).
altglyphdef
(macro).
altglyphitem
(macro).
animate
(macro).
animatecolor
(macro).
animatemotion
(macro).
animatetransform
(macro).
circle
(macro).
clippath
(macro).
color-profile
(macro).
cursor
(macro).
definition-src
(macro).
defs
(macro).
desc
(macro).
ellipse
(macro).
feblend
(macro).
fecolormatrix
(macro).
fecomponenttransfer
(macro).
fecomposite
(macro).
feconvolvematrix
(macro).
fediffuselighting
(macro).
fedisplacementmap
(macro).
fedistantlight
(macro).
feflood
(macro).
fefunca
(macro).
fefuncb
(macro).
fefuncg
(macro).
fefuncr
(macro).
fegaussianblur
(macro).
feimage
(macro).
femerge
(macro).
femergenode
(macro).
femorphology
(macro).
feoffset
(macro).
fepointlight
(macro).
fespecularlighting
(macro).
fespotlight
(macro).
fetile
(macro).
feturbulence
(macro).
filter
(macro).
font
(macro).
font-face
(macro).
font-face-format
(macro).
font-face-name
(macro).
font-face-src
(macro).
font-face-uri
(macro).
foreignobject
(macro).
g
(macro).
glyph
(macro).
glyphref
(macro).
hkern
(macro).
image
(macro).
line
(macro).
linear-gradient
(macro).
marker
(macro).
mask
(macro).
metadata
(macro).
missing-glyph
(macro).
mpath
(macro).
path
(macro).
pattern
(macro).
polygon
(macro).
polyline
(macro).
radialgradient
(macro).
rect
(macro).
script
(macro).
stop
(macro).
style
(macro).
svg
(macro).
svg-set
(macro).
svg-symbol
(macro).
switch
(macro).
text
(macro).
textpath
(macro).
title
(macro).
tref
(macro).
tspan
(macro).
use
(macro).
view
(macro).
vkern
(macro).
concat-symbol
(function).
def-svg-tag
(macro).
it.bese.yaclml.tags
YACLML programmatic HTML generation.
<
 
(macro).
a
(macro).
abbr
(macro).
acronym
(macro).
address
(macro).
ah
(macro).
ai
(macro).
applet
(macro).
area
(macro).
as-html
(macro).
as-is
(macro).
b
(macro).
base
(macro).
bdo
(macro).
big
(macro).
blockquote
(macro).
body
(macro).
br
(macro).
button
(macro).
call-with-yaclml-stream
(macro).
caption
(macro).
checkbox
(macro).
cite
(macro).
code
(macro).
col
(macro).
colgroup
(macro).
comment
(macro).
dd
(macro).
del
(macro).
dfn
(macro).
div
(macro).
dl
(macro).
dt
(macro).
em
(macro).
embed
(macro).
fieldset
(macro).
file
(macro).
form
(macro).
format
(function).
frame
(macro).
frameset
(macro).
h1
(macro).
h2
(macro).
h3
(macro).
h4
(macro).
h5
(macro).
h6
(macro).
head
(macro).
hr
(macro).
href
(macro).
html
(macro).
i
(macro).
iframe
(macro).
image
(macro).
img
(macro).
input
(macro).
ins
(macro).
kbd
(macro).
label
(macro).
legend
(macro).
li
(macro).
link
(macro).
map
(macro).
marquee
(macro).
meta
(macro).
noframes
(macro).
noscript
(macro).
object
(macro).
ol
(macro).
optgroup
(macro).
option
(macro).
p
(macro).
param
(macro).
pre
(macro).
progn
(macro).
q
(macro).
samp
(macro).
script
(macro).
select
(macro).
small
(macro).
span
(macro).
strong
(macro).
style
(macro).
stylesheet
(macro).
sub
(macro).
submit
(macro).
sup
(macro).
table
(macro).
tbody
(macro).
td
(macro).
text
(macro).
textarea
(macro).
tfoot
(macro).
th
(macro).
thead
(macro).
title
(macro).
tr
(macro).
tt
(macro).
ul
(macro).
var
(macro).
it.bese.yaclml
Yet Another Common Lisp Markup Language
yaclml
common-lisp
.
it.bese.arnesi
.
iterate
.
*uri-to-package*
(special variable).
*yaclml-indent*
(special variable).
*yaclml-stream*
(special variable).
+xhtml-frameset-doctype+
(special variable).
+xhtml-strict-doctype+
(special variable).
+xhtml-transitional-doctype+
(special variable).
compile-tal-file
(function).
compile-tal-string
(function).
def-attribute-handler
(macro).
def-tag-handler
(macro).
deftag
(macro).
deftag-macro
(macro).
emit-body
(function).
emit-close-tag
(function).
emit-code
(function).
emit-empty-tag
(function).
emit-html
(function).
emit-open-tag
(function).
emit-princ
(function).
emit-princ-attributes
(function).
enable-xml-syntax
(macro).
enable-yaclml-syntax
(function).
extend-environment
(function).
fetch-tal-value
(generic function).
(setf fetch-tal-value)
(generic function).
file-system-generator
(class).
href
(function).
load-tal
(generic function).
lookup-tal-variable
(generic function).
(setf lookup-tal-variable)
(generic function).
make-standard-tal-environment
(function).
read-tal-expression-from-string
(function).
root-directories
(generic reader).
(setf root-directories)
(generic writer).
tal-env
(function).
tal-generator
(class).
tal-value
(macro).
template-truename
(generic function).
transform-lxml-form
(function).
transform-lxml-tree
(function).
with-xml-syntax
(function).
with-yaclml-output-to-string
(macro).
with-yaclml-stream
(macro).
wrap-in-tag
(macro).
$⎵tal⎵reader
(function).
%enable-xml-syntax
(function).
%yaclml-code%
(special variable).
%yaclml-indentation-depth%
(special variable).
*expander-macros*
(special variable).
*expanders*
(special variable).
*expression-package*
(special variable).
*html-prologue*
(special variable).
*readers*
(special variable).
*tal-attribute-handlers*
(special variable).
*tal-tag-handlers*
(special variable).
*tal-templates*
(special variable).
*tal-truename*
(special variable).
*xml-reader-close-char*
(special variable).
*xml-reader-open-char*
(special variable).
[⎵reader
(function).
attribute
(generic reader).
(setf attribute)
(generic writer).
attribute-bind
(macro).
attribute-type
(generic reader).
(setf attribute-type)
(generic writer).
bind-tal-compile-environment
(macro).
bind-tal-compile-environment*
(macro).
cachep
(generic reader).
(setf cachep)
(generic writer).
compile-tal-string-to-lambda
(function).
copy-runtime-attribute-list-reference
(function).
copy-tal-template
(function).
def-empty-html-tag
(macro).
def-html-tag
(macro).
def-simple-xtag
(macro).
disable-yaclml-syntax
(function).
emit-attribute
(macro).
emit-attribute-value
(function).
emit-form
(function).
emit-indentation
(function).
emit-princ-attribute
(function).
illegal-attribute-use
(condition).
make-effective-attributes
(function).
make-runtime-attribute-list-reference
(function).
make-tal-template
(function).
parse-attribute-spec
(function).
parse-tal-attribute-value
(function).
preprocess-tal
(generic function).
ralr-form
(reader).
(setf ralr-form)
(writer).
read-tal-file-into-string
(function).
runtime-attribute-list-reference
(structure).
runtime-attribute-list-reference-p
(function).
setf-tal-variable-error
(condition).
tag-related-error
(condition).
tal-template
(structure).
tal-template-p
(function).
tal-template.file-name
(reader).
(setf tal-template.file-name)
(writer).
tal-template.function
(reader).
(setf tal-template.function)
(writer).
tal-template.last-load-time
(reader).
(setf tal-template.last-load-time)
(writer).
unfound-tal-variable
(condition).
unrecognized-attribute
(condition).
unsettable-tal-variable
(condition).
with-tal-compilation-unit
(macro).
with-tal-compile-environment
(macro).
xml-reader-open
(function).
yaclml-constant-p
(function).
it.bese.yaclml.xmls
common-lisp
.
*convert-entities*
(special variable).
*entities*
(special variable).
make-node
(function).
node-attrs
(function).
(setf node-attrs)
(function).
node-children
(function).
(setf node-children)
(function).
node-name
(function).
(setf node-name)
(function).
node-ns
(function).
(setf node-ns)
(function).
parse
(function).
*strip-comments*
(special variable).
*test-verbose*
(special variable).
attr-or-nsdecl
(function).
attr-text-dq
(function).
attr-text-sq
(function).
chardata
(function).
comment
(function).
comment-char
(function).
comment-or-cdata
(function).
comment-or-doctype
(function).
content
(function).
copy-element
(function).
copy-state
(function).
defmatch
(macro).
defrule
(macro).
digit
(function).
document
(function).
eat
(macro).
element
(function).
element
(structure).
element-p
(function).
element-type
(reader).
(setf element-type)
(writer).
element-val
(reader).
(setf element-val)
(writer).
end-tag
(function).
entitify
(function).
entity
(generic reader).
(setf entity)
(generic writer).
entity-of
(function).
expected
(generic reader).
(setf expected)
(generic writer).
found
(generic reader).
(setf found)
(generic writer).
intern-xml-name
(function).
letter
(function).
lookup-namespace
(function).
lookup-package
(function).
make-element
(function).
make-extendable-string
(function).
make-state
(function).
match
(macro).
match*
(macro).
match+
(macro).
match-seq
(macro).
matchfn
(macro).
message
(generic reader).
(setf message)
(generic writer).
misc
(function).
must
(macro).
name
(function).
namechar
(function).
namespace
(generic reader).
(setf namespace)
(generic writer).
ncname
(function).
ncname-char
(function).
next-char
(symbol macro).
none-or-more
(function).
offset
(generic reader).
(setf offset)
(generic writer).
one-or-more
(function).
peek
(macro).
peek-stream
(function).
processing-instruction
(function).
processing-instruction-or-xmldecl
(function).
push-string
(function).
qname
(function).
read-stream
(function).
reference-to-undeclared-namespace
(condition).
resolve-entity
(function).
resolve-namespace
(function).
start-tag
(function).
state
(structure).
state-got-doctype
(reader).
(setf state-got-doctype)
(writer).
state-lines
(reader).
(setf state-lines)
(writer).
state-nsstack
(reader).
(setf state-nsstack)
(writer).
state-p
(function).
state-stream
(reader).
(setf state-stream)
(writer).
unmatched-end-tag
(condition).
unresovable-entity
(condition).
ws
(function).
ws-attr-or-nsdecl
(function).
ws-char
(function).
xml-parse-error
(condition).
xmldecl
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
When true we convert entities found in the data to their corresponding chars, when false we leave ignore entities. NB: in the current implementation we are only able to convert a limited subset of all entities (see *entities* for the complete listing).
Default mapping of xmlns to packages.
When T (must be set while compiling yaclml code) the generated HTML is indented.
The stream to which tags are printed.
Defines a new attribute handler name ATTRIBUTE.
Defines a new tag handlec named TAG-NAME.
Define a new tag.
ATTRIBUTES should be an attribute-spec (see parse-attributes and
attribute-bind).
BODY is simply the body of the expander lambda.
Within the BODY the functions EMIT-CODE, EMIT-PRINC and EMIT-HTML can be used to generate code. EMIT-CODE should be passed lisp code which will be executed at runtime.
Define a new YACLML tag macro.
Tag macros, like regular macros, expand into other YACLML tag forms which are recursivly processed.
Enable xml reader syntax for the file being compiled or loaded.
You may consider using (enable-bracket-reader):
{with-xml-syntax
<foo :attr "bar" (lisp) >}
Syntax examples:
<foo :attribute "bar" (call lisp code) >
<(progn 33) :bar 42 (@ "cAMeL" "eLitE-<>") "body-<>" >
==>
<33 bar="42" cAMeL="eLitE-<>"
>body-<></33
>
<"foo" :bar 42>
==>
<foo bar="42"/>
Get the tal variable called NAME from -TAL-ENVIRONMENT-
Evaluate BODY with *yaclml-stream* bound to a string stream, return the string.
Evaluate BODY with *yaclml-stream* bound to STREAM.
Traverse body and emit the corresponding code. Every form in body
is analyzed according to the following rules:
cons whose car is not a known expander - code which should be included
with no further analysis.
cons whose car is a known expander - simply call the expander function
with the cdr of the cons as the arg.
yaclml-constant-p - print the constant (after escape-as-html) to
*yaclml-stream*.
cons whose car is YACLML-QUOTE - emit-body on every element of the cdr.
Emit the code required to print a close tag whose name is NAME.
Emit to the current yaclml-code CODE. This means that whatever CODE is it will be run, and it’s result will be ignored, at runtime.
Emit the code required to print an empty tag with name NAME and a attributes ATTRIBUTES. See EMIT-OPEN-TAG for more details.
Like EMIT-PRINC but escapes html chars in item.
Emit the code required to print an open tag whose name is NAME and with the attributes ATTRIBUTES. ATTRIBUTES is expected to be an even long, setf-like list of name-value pairs defining the attributes.
Emit to the current yaclml-code a form which will, at runtime, princ ITEM. If (yaclml-constant-p ITEM) is true the princ will be done at compile time.
Assuming attributes is a list of (name1 value1 name2 value2 ...), emit
the code necessary to print them at runtime. If VALUE is a
list every element will be concatenated separated by a space to
form the final string value of the attribute.
If the value of any of the attributes is NIL it will be ignored.
If a value is the symbol T the name of the attribute will be used as the value.
Create a new environment with all the bindings in NEW-ENVIRONMENT and ENVIRONMENT.
Any bindings in NEW-ENVIRNOMENT shadow (on successive calls to
LOOKUP-TAL-VARIABLE) other bindings currently present in
ENVIRONMENT.
Convenience function for creating a new xml node.
Returns an environment consisting of BINDING-SETS.
Each binding set can be an alist, an object, a hash table, or any
object for which the a method on LOOKUP-TAL-VARIABLE has been
defined.
See alse: TAL-ENV
Parses the supplied stream or string into a lisp node tree.
Reads a single form from the string EXPRESSION using the TAL expression read table.
Creates a fresh tal environment from the plist PAIRS.
Transforms the lxml tree FORM into common lisp code (a series of calls to tag macros).
Given a tree representing some LXML code with TAL attributes returns the yaclml tag using code for generating the HTML. Destructivly modifies TREE.
Return the value associated with NAME in the binding set BINDING.
file-system-generator
) (name pathname
)) ¶file-system-generator
) (name string
)) ¶Return the value assciated with NAME (a symbol) in the environment ENVIRONMENT.
list
)) ¶Return the value associated with NAME in the environment ENV. ENV is represetend as a list of binding sets.
list
)) ¶file-system-generator
)) ¶automatically generated reader method
file-system-generator
)) ¶automatically generated writer method
file-system-generator
) (name pathname
)) ¶file-system-generator
) (name string
)) ¶tag-related-error
)) ¶it.bese.arnesi
.
tag
.
tag-related-error
)) ¶it.bese.arnesi
.
tag
.
The list of currently collected code this yaclml macro should expand into.
Hash table mapping expander macros to theri macre functions.
Hash table mapping expanders to the expander function.
The value of *PACKAGE* when tal attribute expressions and for looking up symbols in the environment.
Evaluate BODY with the values in LIST bound according to ATTRIBUTE-SPEC.
ATTRIBUTE-SPEC has the following form:
( required-args* [ &attribute attributes* ]
[ &allow-other-attributes others ]
[ &allow-custom-attributes customs ]
[ &body body ] )
The symbols in REQUIRED-ARGS will be positionaly bound to the
values in LIST. After the required args have been consumed any
keyword value pairs will be consumed and bound to the
corresponding attributes (binding form is just like &key in
regular lambda lists, but only keyword symbols are allowed).
If &allow-other-attributes is present then OTHERS will be bound
to a list containing all the attributes in LIST which don’t have
a corresponding &attribute variable. &allow-other-attributes implies
&allow-custom-attributes and OTHERS will contain also the custom
attributes.
If &allow-custom-attributes is present then CUSTOMS will be bound
to a list containing all the custom attributes provided in (@ ...)
sections.
if &body is present then BODY will be bound to anything remaining
in LIST after attribute parsing is complete.
Define a tag that has ‘End Tag‘ set to Forbidden and ‘Empty‘ set to Empty according to: http://www.w3.org/TR/1999/REC-html401-19991224/index/elements.html used so generated XHTML would follow guidelines described in http://www.w3.org/TR/xhtml1/#guidelines
Convience macro for defing tags which accept any kind of attribute and just wrap the body in an xml tag.
Match definition macro that provides a common lexical environment for matchers.
Rule definition macro that provides a common lexical environment for rules.
Consumes one character from the input stream.
Attempts to match the next input character with one of the supplied matchers.
Matches any occurances of any of the supplied matchers.
Matches one or more occurances of any of the supplied matchers.
Tries to match the supplied matchers in sequence with characters in the input stream.
Convenience macro for creating an anonymous function wrapper around a matcher macro.
Throws a parse error if the supplied forms do not succeed.
Looks ahead for an occurance of any of the supplied matchers.
The $ char reader for tal expressions.
Read a form using YACLML’s [ syntax.
Everything between the #[ and the #] is read as text. ~FORM prints (using <:as-html) the value returned by FORM while $FORM simply evaluates FORM and ignore the result.
Returns the source code for the tal function form the tal text STRING.
Concatenate symbols or strings to form an interned symbol
type
.
val
.
Emits the code to print FORM.
Converts OBJECT to its string representation, if necessary, and then replaces the characters of OBJECT with their corresponding entities. Assumes that the characters of RESERVED have been registered in the entity table.
Returns the xml entity corresponding to CHAR, without the leading ampersand. Returns NIL if not found.
Creates an adjustable string with a fill pointer.
Collects any matches of the supplied rule with the input stream.
Collects one or more matches of the supplied rule with the input stream.
Parse an attribute spec into required args, attribute args, other args and the body arg.
Parser a TAL attribute expression, returns a form for building the expression at run time.
Looks one character ahead in the input stream. Serves as a potential hook for character translation.
Shorthand function for adding characters to an extendable string.
form
.
Reads a character from the stream, translating entities as it goes (assuming *convert-entities* is non-NIL).
Resolves the xml entity ENT to a character. Numeric entities are converted using CODE-CHAR, which only works in implementations that internally encode strings in US-ASCII, ISO-8859-1 or UCS.
Maps the ns prefix to its associated url via the supplied ns env.
Emit XML elements into *yaclml-stream*, use keyword parameters for attributes and rest parameters for nested XML elements or normal lisp code. See enable-xml-syntax for more details.
Returns T if THING is, as far as yaclml is concerned, a run time constant.
unrecognized-attribute
)) ¶unrecognized-attribute
)) ¶illegal-attribute-use
)) ¶illegal-attribute-use
)) ¶file-system-generator
)) ¶automatically generated reader method
file-system-generator
)) ¶automatically generated writer method
unresovable-entity
)) ¶unresovable-entity
)) ¶unmatched-end-tag
)) ¶unmatched-end-tag
)) ¶unmatched-end-tag
)) ¶unmatched-end-tag
)) ¶xml-parse-error
)) ¶xml-parse-error
)) ¶reference-to-undeclared-namespace
)) ¶reference-to-undeclared-namespace
)) ¶xml-parse-error
)) ¶xml-parse-error
)) ¶Returns the source code which a certain TAL
name will expand into. Used for debugging tal code.
file-system-generator
) (name pathname
)) ¶file-system-generator
) (file-name string
)) ¶:attribute-type
:namespace
:attribute
:entity
Common return type of all rule functions.
structure-object
.
it.bese.arnesi
.
Represents parser state. Passed among rules to avoid threading issues.
Jump to: | $
%
&
(
[
A B C D E F G H I K L M N O P Q R S T U V W X Y |
---|
Jump to: | $
%
&
(
[
A B C D E F G H I K L M N O P Q R S T U V W X Y |
---|
Jump to: | %
*
+
A C E F G L M N O R S T V |
---|
Jump to: | %
*
+
A C E F G L M N O R S T V |
---|
Jump to: | A B C E F G H I M P R S T U X Y |
---|
Jump to: | A B C E F G H I M P R S T U X Y |
---|