This is the zenekindarl Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 07:10:20 2024 GMT+0.
zenekindarl/zenekindarl.asd
zenekindarl/src/zenekindarl.lisp
zenekindarl/src/att.lisp
zenekindarl/src/backend.lisp
zenekindarl/src/be/stream.lisp
zenekindarl/src/be/sequence.lisp
zenekindarl/src/be/fast-io.lisp
zenekindarl/src/token.lisp
zenekindarl/src/pass.lisp
zenekindarl/src/parse.lisp
zenekindarl/src/lexer.lisp
zenekindarl/src/le/default.lisp
zenekindarl/src/parser.lisp
zenekindarl/src/util.lisp
zenekindarl.parser
zenekindarl.lexer.default
zenekindarl
zenekindarl.backend.sequence
zenekindarl.parse
zenekindarl.lexer
zenekindarl.backend.stream
zenekindarl.backend
zenekindarl.att
zenekindarl.pass
zenekindarl.token
zenekindarl.util
zenekindarl.backend.fast-io
The main system appears first, followed by any subsystem dependency.
zenekindarl
A fast precompiling template engine
κeen
0.1
alexandria
(system).
anaphora
(system).
babel
(system).
optima
(system).
cl-ppcre
(system).
html-encode
(system).
fast-io
(system).
maxpc
(system).
cl-annot
(system).
src
(module).
Modules are listed depth-first from the system components tree.
zenekindarl/src
zenekindarl
(system).
zenekindarl.lisp
(file).
att.lisp
(file).
backend.lisp
(file).
be
(module).
token.lisp
(file).
pass.lisp
(file).
parse.lisp
(file).
lexer.lisp
(file).
le
(module).
parser.lisp
(file).
util.lisp
(file).
zenekindarl/src/be
backend.lisp
(file).
src
(module).
stream.lisp
(file).
sequence.lisp
(file).
fast-io.lisp
(file).
zenekindarl/src/le
lexer.lisp
(file).
token.lisp
(file).
src
(module).
default.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
zenekindarl/zenekindarl.asd
zenekindarl/src/zenekindarl.lisp
zenekindarl/src/att.lisp
zenekindarl/src/backend.lisp
zenekindarl/src/be/stream.lisp
zenekindarl/src/be/sequence.lisp
zenekindarl/src/be/fast-io.lisp
zenekindarl/src/token.lisp
zenekindarl/src/pass.lisp
zenekindarl/src/parse.lisp
zenekindarl/src/lexer.lisp
zenekindarl/src/le/default.lisp
zenekindarl/src/parser.lisp
zenekindarl/src/util.lisp
zenekindarl/src/zenekindarl.lisp
parse.lisp
(file).
pass.lisp
(file).
backend.lisp
(file).
be
(module).
src
(module).
compile-template-file
(function).
compile-template-string
(function).
render
(function).
render-file
(function).
zenekindarl/src/att.lisp
util.lisp
(file).
src
(module).
arg
(reader method).
(setf arg)
(writer method).
att-constant
(function).
att-constant
(class).
att-control
(class).
att-equal
(generic function).
att-eval
(function).
att-eval
(class).
att-gensym
(function).
att-gensym
(class).
att-if
(function).
att-if
(class).
att-include
(function).
att-include
(class).
att-leaf
(class).
att-loop
(function).
att-loop
(class).
att-nil
(function).
att-nil
(class).
att-node
(class).
att-output
(function).
att-output
(class).
att-progn
(function).
att-progn
(class).
att-repeat
(function).
att-repeat
(class).
att-string
(function).
att-string
(class).
att-variable
(function).
att-variable
(class).
auto-escape
(reader method).
(setf auto-escape)
(writer method).
body
(reader method).
body
(reader method).
(setf body)
(writer method).
(setf body)
(writer method).
cond-clause
(reader method).
(setf cond-clause)
(writer method).
else-clause
(reader method).
(setf else-clause)
(writer method).
gensym-string
(reader method).
(setf gensym-string)
(writer method).
loop-seq
(reader method).
(setf loop-seq)
(writer method).
loop-var
(reader method).
(setf loop-var)
(writer method).
nodes
(reader method).
(setf nodes)
(writer method).
path
(reader method).
(setf path)
(writer method).
print-object
(method).
print-object
(method).
print-object
(method).
print-object
(method).
print-object
(method).
print-object
(method).
print-object
(method).
print-object
(method).
print-object
(method).
print-object
(method).
print-object
(method).
repeat-times
(reader method).
(setf repeat-times)
(writer method).
repeat-var
(reader method).
(setf repeat-var)
(writer method).
sexp
(reader method).
(setf sexp)
(writer method).
then-clause
(reader method).
(setf then-clause)
(writer method).
value
(reader method).
value
(reader method).
(setf value)
(writer method).
(setf value)
(writer method).
varsym
(reader method).
(setf varsym)
(writer method).
vartype
(reader method).
(setf vartype)
(writer method).
zenekindarl/src/backend.lisp
src
(module).
backend
(class).
emit-code
(generic function).
emit-lambda
(generic function).
emit-parameters
(generic function).
make-backend
(generic function).
symbols
(reader method).
(setf symbols)
(writer method).
add-to-scope
(generic function).
find-from-scope
(generic function).
http-escape
(generic function).
pop-scope
(generic function).
push-scope
(generic function).
scopes
(reader method).
(setf scopes)
(writer method).
zenekindarl/src/be/stream.lisp
be
(module).
emit-code
(method).
emit-code
(method).
emit-lambda
(method).
emit-lambda
(method).
make-backend
(method).
make-backend
(method).
octet-stream-backend
(class).
stream-backend
(class).
stream-of
(reader method).
(setf stream-of)
(writer method).
zenekindarl/src/be/sequence.lisp
stream.lisp
(file).
be
(module).
buffer-of
(reader method).
(setf buffer-of)
(writer method).
emit-code
(method).
emit-lambda
(method).
emit-lambda
(method).
make-backend
(method).
make-backend
(method).
octet-backend
(class).
string-backend
(class).
string-of
(reader method).
(setf string-of)
(writer method).
zenekindarl/src/be/fast-io.lisp
sequence.lisp
(file).
be
(module).
emit-lambda
(method).
fast-io-backend
(class).
make-backend
(method).
zenekindarl/src/token.lisp
src
(module).
make-token-else
(function).
make-token-end
(function).
make-token-if
(function).
make-token-include
(function).
make-token-insert
(function).
make-token-loop
(function).
make-token-repeat
(function).
make-token-string
(function).
make-token-variable
(function).
token-auto-escape
(reader).
(setf token-auto-escape)
(writer).
token-cond-clause
(reader).
(setf token-cond-clause)
(writer).
token-else
(structure).
token-else-p
(function).
token-end
(reader).
(setf token-end)
(writer).
token-end
(structure).
token-end-p
(function).
token-if
(structure).
token-if-p
(function).
token-include
(structure).
token-include-p
(function).
token-include-template
(reader).
(setf token-include-template)
(writer).
token-insert
(structure).
token-insert-p
(function).
token-insert-string
(reader).
(setf token-insert-string)
(writer).
token-loop
(structure).
token-loop-p
(function).
token-loop-sym
(reader).
(setf token-loop-sym)
(writer).
token-repeat
(structure).
token-repeat-p
(function).
token-repeat-sym
(reader).
(setf token-repeat-sym)
(writer).
token-seq
(reader).
(setf token-seq)
(writer).
token-start
(reader).
(setf token-start)
(writer).
token-str
(reader).
(setf token-str)
(writer).
token-string
(structure).
token-string-p
(function).
token-template
(reader).
(setf token-template)
(writer).
token-times
(reader).
(setf token-times)
(writer).
token-value
(reader).
(setf token-value)
(writer).
token-variable
(structure).
token-variable-p
(function).
copy-token
(function).
copy-token-else
(function).
copy-token-end
(function).
copy-token-if
(function).
copy-token-include
(function).
copy-token-insert
(function).
copy-token-loop
(function).
copy-token-repeat
(function).
copy-token-string
(function).
copy-token-variable
(function).
make-token
(function).
token
(structure).
token-p
(function).
zenekindarl/src/pass.lisp
src
(module).
*optimizing-passes*
(special variable).
append-sequence-pass
(function).
apply-passes
(function).
flatten-pass
(function).
fold-variables-pass
(function).
remove-progn-pass
(function).
*necessary-passes*
(special variable).
append-att-node
(function).
append-att-node-aux
(generic function).
append-sequence-impl
(generic function).
flatten-impl
(generic function).
fold-variables-impl
(generic function).
remove-progn-impl
(generic function).
traverse-node
(generic function).
zenekindarl/src/parse.lisp
att.lisp
(file).
lexer.lisp
(file).
le
(module).
parser.lisp
(file).
src
(module).
parse-template-file
(function).
parse-template-string
(function).
zenekindarl/src/lexer.lisp
zenekindarl/src/le/default.lisp
le
(module).
lex
(method).
read-out
(function).
tokenize
(function).
tokenize-else
(function).
tokenize-end
(function).
tokenize-if
(function).
tokenize-include
(function).
tokenize-insert
(function).
tokenize-loop
(function).
tokenize-repeat
(function).
tokenize-variable
(function).
tokens
(function).
zenekindarl/src/parser.lisp
token.lisp
(file).
att.lisp
(file).
lexer.lisp
(file).
le
(module).
src
(module).
=template
(function).
=control-if
(function).
=control-include
(function).
=control-insert
(function).
=control-loop
(function).
=control-repeat
(function).
=control-variable
(function).
=template-string
(function).
?token-else
(function).
?token-end
(function).
?token-if
(function).
?token-include
(function).
?token-insert
(function).
?token-loop
(function).
?token-repeat
(function).
?token-string
(function).
?token-variable
(function).
id
(function).
Packages are listed by definition order.
zenekindarl.parser
zenekindarl.lexer.default
zenekindarl
zenekindarl.backend.sequence
zenekindarl.parse
zenekindarl.lexer
zenekindarl.backend.stream
zenekindarl.backend
zenekindarl.att
zenekindarl.pass
zenekindarl.token
zenekindarl.util
zenekindarl.backend.fast-io
zenekindarl.parser
common-lisp
.
maxpc
.
zenekindarl.att
.
zenekindarl.token
.
zenekindarl.util
.
=template
(function).
=control-if
(function).
=control-include
(function).
=control-insert
(function).
=control-loop
(function).
=control-repeat
(function).
=control-variable
(function).
=template-string
(function).
?token-else
(function).
?token-end
(function).
?token-if
(function).
?token-include
(function).
?token-insert
(function).
?token-loop
(function).
?token-repeat
(function).
?token-string
(function).
?token-variable
(function).
id
(function).
zenekindarl.lexer.default
common-lisp
.
zenekindarl.lexer
.
zenekindarl.token
.
zenekindarl.util
.
read-out
(function).
tokenize
(function).
tokenize-else
(function).
tokenize-end
(function).
tokenize-if
(function).
tokenize-include
(function).
tokenize-insert
(function).
tokenize-loop
(function).
tokenize-repeat
(function).
tokenize-variable
(function).
tokens
(function).
zenekindarl
zen
compile-template-file
(function).
compile-template-string
(function).
render
(function).
render-file
(function).
zenekindarl.backend.sequence
common-lisp
.
zenekindarl.att
.
zenekindarl.backend
.
zenekindarl.backend.stream
.
zenekindarl.util
.
octet-backend
(class).
string-backend
(class).
string-of
(generic reader).
(setf string-of)
(generic writer).
zenekindarl.parse
common-lisp
.
zenekindarl.att
.
zenekindarl.lexer
.
zenekindarl.parser
.
parse-template-file
(function).
parse-template-string
(function).
zenekindarl.lexer
common-lisp
.
lex
(generic function).
zenekindarl.backend.stream
common-lisp
.
zenekindarl.att
.
zenekindarl.backend
.
zenekindarl.util
.
buffer-of
(generic reader).
(setf buffer-of)
(generic writer).
octet-stream-backend
(class).
stream-backend
(class).
stream-of
(generic reader).
(setf stream-of)
(generic writer).
zenekindarl.backend
common-lisp
.
zenekindarl.att
.
zenekindarl.util
.
backend
(class).
emit-code
(generic function).
emit-lambda
(generic function).
emit-parameters
(generic function).
make-backend
(generic function).
symbols
(generic reader).
(setf symbols)
(generic writer).
add-to-scope
(generic function).
find-from-scope
(generic function).
http-escape
(generic function).
pop-scope
(generic function).
push-scope
(generic function).
scopes
(generic reader).
(setf scopes)
(generic writer).
zenekindarl.att
common-lisp
.
zenekindarl.util
.
arg
(generic reader).
(setf arg)
(generic writer).
att-constant
(function).
att-constant
(class).
att-control
(class).
att-equal
(generic function).
att-eval
(function).
att-eval
(class).
att-gensym
(function).
att-gensym
(class).
att-if
(function).
att-if
(class).
att-include
(function).
att-include
(class).
att-leaf
(class).
att-loop
(function).
att-loop
(class).
att-nil
(function).
att-nil
(class).
att-node
(class).
att-output
(function).
att-output
(class).
att-progn
(function).
att-progn
(class).
att-repeat
(function).
att-repeat
(class).
att-string
(function).
att-string
(class).
att-variable
(function).
att-variable
(class).
auto-escape
(generic reader).
(setf auto-escape)
(generic writer).
body
(generic reader).
(setf body)
(generic writer).
cond-clause
(generic reader).
(setf cond-clause)
(generic writer).
else-clause
(generic reader).
(setf else-clause)
(generic writer).
gensym-string
(generic reader).
(setf gensym-string)
(generic writer).
loop-seq
(generic reader).
(setf loop-seq)
(generic writer).
loop-var
(generic reader).
(setf loop-var)
(generic writer).
nodes
(generic reader).
(setf nodes)
(generic writer).
path
(generic reader).
(setf path)
(generic writer).
repeat-times
(generic reader).
(setf repeat-times)
(generic writer).
repeat-var
(generic reader).
(setf repeat-var)
(generic writer).
sexp
(generic reader).
(setf sexp)
(generic writer).
then-clause
(generic reader).
(setf then-clause)
(generic writer).
value
(generic reader).
(setf value)
(generic writer).
varsym
(generic reader).
(setf varsym)
(generic writer).
vartype
(generic reader).
(setf vartype)
(generic writer).
zenekindarl.pass
common-lisp
.
zenekindarl.att
.
zenekindarl.util
.
*optimizing-passes*
(special variable).
append-sequence-pass
(function).
apply-passes
(function).
flatten-pass
(function).
fold-variables-pass
(function).
remove-progn-pass
(function).
*necessary-passes*
(special variable).
append-att-node
(function).
append-att-node-aux
(generic function).
append-sequence-impl
(generic function).
flatten-impl
(generic function).
fold-variables-impl
(generic function).
remove-progn-impl
(generic function).
traverse-node
(generic function).
zenekindarl.token
cl-annot.class
.
common-lisp
.
make-token-else
(function).
make-token-end
(function).
make-token-if
(function).
make-token-include
(function).
make-token-insert
(function).
make-token-loop
(function).
make-token-repeat
(function).
make-token-string
(function).
make-token-variable
(function).
token-auto-escape
(reader).
(setf token-auto-escape)
(writer).
token-cond-clause
(reader).
(setf token-cond-clause)
(writer).
token-else
(structure).
token-else-p
(function).
token-end
(reader).
(setf token-end)
(writer).
token-end
(structure).
token-end-p
(function).
token-if
(structure).
token-if-p
(function).
token-include
(structure).
token-include-p
(function).
token-include-template
(reader).
(setf token-include-template)
(writer).
token-insert
(structure).
token-insert-p
(function).
token-insert-string
(reader).
(setf token-insert-string)
(writer).
token-loop
(structure).
token-loop-p
(function).
token-loop-sym
(reader).
(setf token-loop-sym)
(writer).
token-repeat
(structure).
token-repeat-p
(function).
token-repeat-sym
(reader).
(setf token-repeat-sym)
(writer).
token-seq
(reader).
(setf token-seq)
(writer).
token-start
(reader).
(setf token-start)
(writer).
token-str
(reader).
(setf token-str)
(writer).
token-string
(structure).
token-string-p
(function).
token-template
(reader).
(setf token-template)
(writer).
token-times
(reader).
(setf token-times)
(writer).
token-value
(reader).
(setf token-value)
(writer).
token-variable
(structure).
token-variable-p
(function).
copy-token
(function).
copy-token-else
(function).
copy-token-end
(function).
copy-token-if
(function).
copy-token-include
(function).
copy-token-insert
(function).
copy-token-loop
(function).
copy-token-repeat
(function).
copy-token-string
(function).
copy-token-variable
(function).
make-token
(function).
token
(structure).
token-p
(function).
zenekindarl.backend.fast-io
common-lisp
.
zenekindarl.att
.
zenekindarl.backend
.
zenekindarl.util
.
fast-io-backend
(class).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Read ‘file’ into string and passes ‘compile-template-string’
compiles ‘str’ with ‘env’ and emmit renderer with backend ‘backend’.
‘backend’: Currently, one of :stream :octet-stream :string :octets :fast-io.
‘str’: A template string.
‘syntax’: Currently, :default only.
‘env’: A plist of compile time information. Left nil.
return: A keyword argumented lambda.
If the backend is :stream or :octet-stream, it looks like (lambda (stream &key ...) ...).
If the backend is :string or :octets, it looks like (lambda (&key ...) ...).
If the backend is :fast-io, it looks like (lambda (fast-io-buffer &key ...) ...).
Keys are free variables appear in the template.
Parse template and render it with args. Like below:
(render "Hello {{var name}}!!" :name "κeen")
(render "Hello {{var name}}!!" :backend :octet-stream stream :name "κeen")
.
If args have ‘:backend backend’ key-value pair, this function uses it. If not given the backend is :stream and stream is *standard-output*.
And also if ‘:syntax syntax’ is given, use it or default to :default.
A wrapper of ‘render’
end
.
seq
.
str
.
att-output
)) ¶automatically generated reader method
att-output
)) ¶automatically generated writer method
att-include
) (y att-include
)) ¶att-repeat
) (y att-repeat
)) ¶att-output
) (y att-output
)) ¶att-constant
) (y att-constant
)) ¶att-gensym
) (y att-gensym
)) ¶att-variable
) (y att-variable
)) ¶att-string
) (y att-string
)) ¶att-repeat
)) ¶automatically generated reader method
att-repeat
)) ¶automatically generated writer method
octet-backend
)) ¶automatically generated reader method
octet-backend
)) ¶automatically generated writer method
octet-backend
) (obj att-output
) &key output-p) ¶octet-stream-backend
) (obj att-output
) &key output-p) ¶stream-backend
) (obj att-output
) &key output-p) ¶att-repeat
) &key output-p) ¶att-constant
) &key output-p) ¶att-variable
) &key output-p) ¶att-string
) &key output-p) ¶fast-io-backend
) att) ¶octet-backend
) att) ¶string-backend
) att) ¶octet-stream-backend
) att) ¶stream-backend
) att) ¶att-gensym
)) ¶automatically generated reader method
att-gensym
)) ¶automatically generated writer method
(eql :default)
)) ¶(eql :fast-io)
) &key &allow-other-keys) ¶(eql :octets)
) &key &allow-other-keys) ¶(eql :string)
) &key string &allow-other-keys) ¶(eql :octet-stream)
) &key &allow-other-keys) ¶(eql :stream)
) &key &allow-other-keys) ¶att-include
)) ¶automatically generated reader method
att-include
)) ¶automatically generated writer method
att-repeat
)) ¶automatically generated reader method
att-repeat
)) ¶automatically generated writer method
att-repeat
)) ¶automatically generated reader method
att-repeat
)) ¶automatically generated writer method
stream-backend
)) ¶automatically generated reader method
stream-backend
)) ¶automatically generated writer method
att-constant
)) ¶automatically generated reader method
att-string
)) ¶automatically generated reader method
att-constant
)) ¶automatically generated writer method
att-string
)) ¶automatically generated writer method
att-variable
)) ¶automatically generated reader method
att-variable
)) ¶automatically generated writer method
att-variable
)) ¶automatically generated reader method
att-variable
)) ¶automatically generated writer method
att-variable
) stream) ¶att-gensym
) stream) ¶att-repeat
) stream) ¶att-output
) stream) ¶att-include
) stream) ¶att-constant
) stream) ¶att-string
) stream) ¶list
string
""
string
""
(quote (or null string))
:gensym-string
:cond
(quote zenekindarl.att:att-node)
:then
(quote zenekindarl.att:att-node)
(zenekindarl.att:att-nil)
:else
(quote (or null t))
t
:auto-escape
(quote zenekindarl.att:att-leaf)
:loop-seq
(quote zenekindarl.att:att-variable)
:loop-var
(quote list)
:nodes
(quote zenekindarl.att:att-leaf)
:repeat-times
(quote zenekindarl.att:att-variable)
:repeat-var
(gensym "buffer")
(gensym "stream")
:stream
common-lisp
.
:string
att-string
) (y att-string
)) ¶att-output
) (y att-output
)) ¶att-variable
) vars) ¶att-variable
) sexp) ¶att-string
) sexp) ¶string-backend
)) ¶automatically generated reader method
string-backend
)) ¶automatically generated writer method
att-output
)) ¶att-repeat
)) ¶Jump to: | (
=
?
A B C E F G H I L M N O P R S T V |
---|
Jump to: | (
=
?
A B C E F G H I L M N O P R S T V |
---|
Jump to: | *
A B C E G I L N P R S T V |
---|
Jump to: | *
A B C E G I L N P R S T V |
---|
Jump to: | A B C D F L M O P S T U Z |
---|
Jump to: | A B C D F L M O P S T U Z |
---|