This is the closure-html Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 04:47:25 2024 GMT+0.
closure-html/closure-html.asd
closure-html/src/defpack.lisp
closure-html/src/glisp/util.lisp
closure-html/src/clex/clex.lisp
closure-html/src/lalr/lalr.lisp
closure-html/src/net/mime.lisp
closure-html/src/parse/pt.lisp
closure-html/src/parse/sgml-dtd.lisp
closure-html/src/parse/sgml-parse.lisp
closure-html/src/parse/html-parser.lisp
closure-html/src/parse/lhtml.lisp
closure-html/src/parse/unparse.lisp
closure-html/src/parse/documentation.lisp
The main system appears first, followed by any subsystem dependency.
closure-html
closure-common
(system).
flexi-streams
(system).
src
(module).
Modules are listed depth-first from the system components tree.
closure-html/src
closure-html/src/glisp
closure-html/src/clex
closure-html/src/lalr
closure-html/src/net
closure-html/src/parse
closure-html/src/glisp
defpack.lisp
(file).
src
(module).
util.lisp
(file).
closure-html/src/clex
closure-html/src/lalr
closure-html/src/net
closure-html/src/parse
src
(module).
pt.lisp
(file).
sgml-dtd.lisp
(file).
sgml-parse.lisp
(file).
html-parser.lisp
(file).
lhtml.lisp
(file).
unparse.lisp
(file).
documentation.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
closure-html/closure-html.asd
closure-html/src/defpack.lisp
closure-html/src/glisp/util.lisp
closure-html/src/clex/clex.lisp
closure-html/src/lalr/lalr.lisp
closure-html/src/net/mime.lisp
closure-html/src/parse/pt.lisp
closure-html/src/parse/sgml-dtd.lisp
closure-html/src/parse/sgml-parse.lisp
closure-html/src/parse/html-parser.lisp
closure-html/src/parse/lhtml.lisp
closure-html/src/parse/unparse.lisp
closure-html/src/parse/documentation.lisp
closure-html/closure-html.asd
closure-html
(system).
perform
(method).
closure-source-file
(class).
closure-html/src/glisp/util.lisp
glisp
(module).
always
(function).
cl-byte-stream
(class).
cl-byte-stream->gstream
(function).
cl-char-stream
(class).
cl-char-stream->gstream
(function).
cl-stream
(class).
compose
(function).
curry
(function).
g/close
(method).
g/finish-output
(method).
g/peek-char
(function).
g/read-byte
(method).
g/read-byte
(method).
g/read-byte-sequence
(method).
g/read-byte-sequence
(method).
g/read-char
(method).
g/read-char
(method).
g/read-char-sequence
(method).
g/read-line
(method).
g/read-line*
(method).
g/unread-byte
(method).
g/unread-byte
(method).
g/unread-char
(method).
g/unread-char
(method).
g/write-byte
(method).
g/write-byte
(method).
g/write-byte-sequence
(method).
g/write-byte-sequence
(method).
g/write-char
(method).
g/write-char
(method).
g/write-string
(method).
gstream
(class).
maybe-parse-integer
(function).
multiple-value-or
(macro).
rcurry
(function).
until
(macro).
use-byte-for-char-stream-flavour
(class).
use-char-for-byte-stream-flavour
(class).
while
(macro).
white-space-p
(compiler macro).
white-space-p
(function).
set-equal
(function).
closure-html/src/clex/clex.lisp
clex
(module).
clex
.
deflexer
(macro).
*full-table-p*
(special variable).
copy-fsa
(function).
do-bits
(macro).
element-of-set-p
(macro).
frob2
(function).
fsa
(structure).
fsa-branch
(function).
fsa-concat
(function).
fsa-empty
(function).
fsa-end
(reader).
(setf fsa-end)
(writer).
fsa-epsilon-closure/set
(function).
fsa-iterate
(function).
fsa-p
(function).
fsa-start
(reader).
(setf fsa-start)
(writer).
fsa-trivial
(function).
loadable-states-form
(function).
loose-eq
(function).
make-empty-set
(macro).
make-fsa
(function).
make-state
(function).
mungle-transitions
(function).
ndfsa->dfsa
(function).
nset-put
(macro).
number-states
(function).
old/deflexer
(macro).
over-all-states
(function).
parse-char-set
(function).
regexp->fsa
(function).
regexp-expand-splicing
(function).
regexp/and->fsa
(function).
regexp/or->fsa
(function).
set-size
(macro).
state-add-link
(function).
state-eps-transitions
(function).
(setf state-eps-transitions)
(function).
state-final
(function).
(setf state-final)
(function).
state-id
(function).
(setf state-id)
(function).
state-transitions
(function).
(setf state-transitions)
(function).
closure-html/src/lalr/lalr.lisp
lalr
(module).
lalr
.
define-grammar
(macro).
*debug-dumping*
(special variable).
*endmarker*
(special variable).
*first-terminals-cache*
(special variable).
*lalr-debug*
(special variable).
*topcat*
(constant).
add-state
(function).
build-parser
(function).
build-state
(function).
build-table
(function).
close-items
(function).
compact-items
(function).
compute-expansion
(function).
copy-item
(function).
copy-rule
(function).
copy-shift
(function).
copy-state
(function).
derives-eps
(function).
derives-epsilon
(macro).
expand
(macro).
expand-citems
(macro).
first-terminals
(function).
first-terminals*
(macro).
first-terms
(function).
fixnum=
(macro).
follow-state
(function).
gcats
(special variable).
gepsilons
(special variable).
get-all-cats
(function).
get-state-name
(function).
gexpansions
(special variable).
gfirsts
(special variable).
glex
(special variable).
grules
(special variable).
gstart
(special variable).
gstarts
(special variable).
item
(structure).
item-core-equal
(macro).
item-daughters
(macro).
item-equal
(macro).
item-la
(reader).
(setf item-la)
(writer).
item-p
(function).
item-pos
(reader).
(setf item-pos)
(writer).
item-right
(macro).
item-rule
(reader).
(setf item-rule)
(writer).
items-right
(function).
lookup
(function).
make-item
(function).
make-parser
(function).
make-rule
(function).
make-shift
(function).
make-state
(function).
merge-citems
(function).
nextstateno
(special variable).
print-table
(function).
rule
(structure).
rule-action
(reader).
(setf rule-action)
(writer).
rule-daughters
(reader).
(setf rule-daughters)
(writer).
rule-mother
(reader).
(setf rule-mother)
(writer).
rule-no
(reader).
(setf rule-no)
(writer).
rule-p
(function).
shift
(structure).
shift-cat
(reader).
(setf shift-cat)
(writer).
shift-items
(function).
shift-p
(function).
shift-where
(reader).
(setf shift-where)
(writer).
state
(structure).
state-citems
(reader).
(setf state-citems)
(writer).
state-conflict
(reader).
(setf state-conflict)
(writer).
state-name
(reader).
(setf state-name)
(writer).
state-p
(function).
state-shifts
(reader).
(setf state-shifts)
(writer).
statelist
(special variable).
subsumes-citems
(function).
transform-rule
(function).
translate-state
(function).
closure-html/src/net/mime.lisp
net
(module).
find-mime-type
(function).
find-mime-type-from-extension
(function).
mime-type-equal
(function).
mime-type-extensions
(reader).
(setf mime-type-extensions)
(writer).
mime-type-name
(reader).
(setf mime-type-name)
(writer).
parse-mime-content-type
(function).
*base64-codes*
(special variable).
*mime-types*
(special variable).
compose-multi-part-message
(function).
compose-multipart/form-data
(function).
copy-mime-type
(function).
decode-base64-string
(function).
define-mime-type
(function).
encode-string-base64
(function).
make-mime-type
(function).
make-simple-disposition
(function).
mime-type
(structure).
mime-type-p
(function).
parse-mime/literal-char-p
(function).
parse-mime/parameter
(function).
parse-mime/parameter-list
(function).
parse-mime/quoted-string
(function).
parse-mime/special
(function).
parse-mime/token
(function).
parse-mime/type-and-subtype
(function).
unparse-content-type
(function).
unparse-parameter-list
(function).
closure-html/src/parse/pt.lisp
parse
(module).
flat-find-element
(function).
flat-find-elements
(function).
gi
(function).
map-pt
(function).
ppt
(function).
print-object
(method).
pt
(structure).
pt-attr
(function).
(setf pt-attr)
(function).
pt-attrs
(reader).
(setf pt-attrs)
(writer).
pt-cdata
(function).
pt-children
(reader).
(setf pt-children)
(writer).
pt-full-name-path
(function).
pt-name
(reader).
(setf pt-name)
(writer).
pt-parent
(reader).
(setf pt-parent)
(writer).
pt-root
(function).
ancestorp
(function).
copy-pt
(function).
delete-pt
(function).
make-pt
(function).
make-pt/low
(function).
map-pt-with-pcdata
(function).
print-pt
(function).
pt-access
(function).
pt-cache
(reader).
(setf pt-cache)
(writer).
pt-p
(function).
pt-path
(function).
pt-plist
(reader).
(setf pt-plist)
(writer).
remove-pt
(function).
closure-html/src/parse/sgml-dtd.lisp
parse
(module).
make-load-form
(method).
make-load-form
(method).
make-load-form
(method).
make-load-form
(method).
make-load-form
(method).
make-load-form
(method).
parse-dtd
(function).
print-object
(method).
print-object
(method).
print-object
(method).
*dtd*
(special variable).
*entities*
(special variable).
action
(macro).
add-entity
(function).
all-elms
(function).
as-cons
(function).
calculate-resolve-info
(function).
canon-optional-tag-definition
(function).
comment-token
(structure).
comment-token-data
(reader).
(setf comment-token-data)
(writer).
comment-token-p
(function).
copy-comment-token
(function).
copy-dtd
(function).
copy-element
(function).
copy-end-tag
(function).
copy-start-tag
(function).
copy-tag
(function).
copy-token
(function).
dtd
(structure).
dtd-elements
(reader).
(setf dtd-elements)
(writer).
dtd-elm-surclusion-cache
(reader).
(setf dtd-elm-surclusion-cache)
(writer).
dtd-entities
(reader).
(setf dtd-entities)
(writer).
dtd-name
(reader).
(setf dtd-name)
(writer).
dtd-p
(function).
dtd-parser
(function).
dtd-resolve-info
(reader).
(setf dtd-resolve-info)
(writer).
dtd-root-elements
(reader).
(setf dtd-root-elements)
(writer).
dump-dtd
(function).
element
(structure).
element-attlist
(reader).
(setf element-attlist)
(writer).
element-exclude
(reader).
(setf element-exclude)
(writer).
element-include
(reader).
(setf element-include)
(writer).
element-name
(reader).
(setf element-name)
(writer).
element-obegin?
(reader).
(setf element-obegin?)
(writer).
element-oend?
(reader).
(setf element-oend?)
(writer).
element-p
(function).
elm-etag
(function).
elm-inclusion
(function).
elm-oend?
(function).
elm-ostart?
(function).
elm-stag
(function).
elm-surclusion
(function).
elms-eqv
(function).
end-tag
(structure).
end-tag-name
(function).
(setf end-tag-name)
(function).
end-tag-p
(function).
eqv-classes
(function).
find-dtd-top-elements
(function).
find-element
(function).
find-element-attlist
(function).
find-entity
(function).
legal-in-p
(function).
make-comment-token
(function).
make-dtd
(function).
make-dtd-lexer
(function).
make-element
(function).
make-end-tag
(function).
make-start-tag
(function).
make-tag
(function).
make-token
(function).
new-entities
(function).
open-public-resource
(function).
open-sgml-resource
(function).
open-system-resource
(function).
print-dtd
(function).
print-end-tag
(function).
print-start-tag
(function).
process-attribute
(function).
process-def-attlist
(function).
process-def-element
(function).
process-dtd-def
(function).
production->name-list
(function).
production->name-list/2
(function).
raux
(function).
resolve
(function).
resolve-key
(function).
save-html-dtd
(function).
set-equal
(function).
sgml-resource-as-string
(function).
start-tag
(structure).
start-tag-atts
(reader).
(setf start-tag-atts)
(writer).
start-tag-name
(function).
(setf start-tag-name)
(function).
start-tag-p
(function).
tag
(structure).
tag-name
(reader).
(setf tag-name)
(writer).
tag-p
(function).
token
(structure).
token-p
(function).
undump-dtd
(function).
closure-html/src/parse/sgml-parse.lisp
sgml-dtd.lisp
(file).
pt.lisp
(file).
parse
(module).
*options/parser-silent-p*
(special variable).
html-parse-file
(function).
sgml-parse
(function).
*anchor-heuristic-p*
(special variable).
*buf-size*
(special variable).
*font-heuristic-p*
(special variable).
*gt-ends-comment-p*
(special variable).
*line-number*
(special variable).
*parse-warn-level*
(special variable).
*preserves-comments-elements*
(special variable).
*unmungle-attribute-case*
(special variable).
a-peek-byte
(macro).
a-read-byte
(macro).
a-stream-position
(macro).
a-stream-scratch
(function).
(setf a-stream-scratch)
(function).
a-unread-byte
(macro).
alpha-rune-p
(function).
canon-value
(function).
check-saneness
(function).
copy-hetag-node
(function).
copy-hstag-node
(function).
copy-htag-node
(function).
document-action
(function).
empty-element-p
(function).
enlarge-scratch-pad
(function).
equivalence-classes
(function).
find-named-entity
(function).
find-slot-value-pair
(function).
foofoo
(function).
handle-meta-tag-in-parser
(function).
hetag-node
(structure).
hetag-node-attrs
(function).
(setf hetag-node-attrs)
(function).
hetag-node-cache
(function).
(setf hetag-node-cache)
(function).
hetag-node-children
(function).
(setf hetag-node-children)
(function).
hetag-node-name
(function).
(setf hetag-node-name)
(function).
hetag-node-p
(function).
hetag-node-parent
(function).
(setf hetag-node-parent)
(function).
hetag-node-plist
(function).
(setf hetag-node-plist)
(function).
heuristic
(function).
hstag-node
(structure).
hstag-node-attrs
(function).
(setf hstag-node-attrs)
(function).
hstag-node-cache
(function).
(setf hstag-node-cache)
(function).
hstag-node-children
(function).
(setf hstag-node-children)
(function).
hstag-node-name
(function).
(setf hstag-node-name)
(function).
hstag-node-p
(function).
hstag-node-parent
(function).
(setf hstag-node-parent)
(function).
hstag-node-plist
(function).
(setf hstag-node-plist)
(function).
htag-node
(structure).
htag-node-attrs
(function).
(setf htag-node-attrs)
(function).
htag-node-cache
(function).
(setf htag-node-cache)
(function).
htag-node-children
(function).
(setf htag-node-children)
(function).
htag-node-name
(function).
(setf htag-node-name)
(function).
htag-node-p
(function).
htag-node-parent
(function).
(setf htag-node-parent)
(function).
htag-node-plist
(function).
(setf htag-node-plist)
(function).
kintern
(function).
make-a-stream
(function).
make-hetag-node
(function).
make-hstag-node
(function).
make-htag-node
(function).
map-htag-pairs
(function).
mungle
(function).
mungle-attlist
(function).
mungle-font-pair
(function).
name-char-p
(function).
name-rune-p
(function).
name-start-char-p
(function).
name-start-rune-p
(function).
parse-html
(function).
parse-warn
(function).
post-mortem-heuristic
(function).
post-mortem/fix-font
(function).
post-mortem/fix-top-level-structure
(function).
push-on-scratch
(function).
read-attribute
(function).
read-comment
(function).
read-define-tag
(function).
read-define-tag-2
(function).
read-end-tag
(function).
read-entity-ref
(function).
read-experimental-tag
(function).
read-literal
(function).
read-name
(function).
read-name-and-attributes
(function).
read-named-entity
(function).
read-numeric-entity
(function).
read-numeric-entity-aux
(function).
read-octets
(method).
read-pcdata
(function).
read-sloopy-name
(function).
read-sloopy-value
(function).
read-start-tag
(function).
read-tag
(function).
read-tag-error
(function).
read-token
(function).
read-token*
(function).
read-value
(function).
resolve-entities-in-string
(function).
resolve-hex-entity
(function).
resolve-named-entity
(function).
resolve-numeric-entity
(function).
setup-code-vector
(function).
sgml-parse-file
(function).
shortest-different-beginning
(function).
shortest-path
(function).
shortest-path-to
(function).
shortest-path/aux
(function).
skip-white-space
(function).
sloopy-name-rune-p
(function).
sloopy-value-rune-p
(function).
subseq/rod
(function).
tag-as-marker-p
(function).
tag-exists?
(function).
transition
(function).
upcase-name-rune
(function).
valid-name-string-p
(function).
white-space-token-p
(function).
xstream/close
(method).
closure-html/src/parse/html-parser.lisp
sgml-parse.lisp
(file).
parse
(module).
*html-dtd*
(special variable).
characters
(method).
comment
(method).
end-document
(method).
end-element
(method).
make-pt-builder
(function).
parse
(function).
pt-builder
(class).
serialize-pt
(function).
start-document
(method).
start-element
(method).
*simple-catalog*
(special variable).
current
(reader method).
(setf current)
(writer method).
parse-xstream
(function).
root
(reader method).
(setf root)
(writer method).
serialize-pt-attributes
(function).
unserialize-pt-attributes
(function).
closure-html/src/parse/lhtml.lisp
html-parser.lisp
(file).
parse
(module).
characters
(method).
comment
(method).
end-document
(method).
end-element
(method).
lhtml->pt
(function).
lhtml-builder
(class).
make-lhtml-builder
(function).
serialize-lhtml
(function).
start-document
(method).
start-element
(method).
lhtml-reader
(function).
pt-attributes-to-lhtml
(function).
root
(reader method).
(setf root)
(writer method).
serialize-lhtml-attributes
(function).
stack
(reader method).
(setf stack)
(writer method).
walk-lhtml
(function).
closure-html/src/parse/unparse.lisp
html-parser.lisp
(file).
parse
(module).
attribute
(function).
characters
(method).
comment
(function).
comment
(method).
end-document
(method).
end-element
(method).
initialize-instance
(method).
make-character-stream-sink
(function).
make-octet-stream-sink
(function).
make-octet-vector-sink
(function).
make-rod-sink
(function).
make-string-sink
(function).
start-document
(method).
start-element
(method).
text
(function).
unescaped
(method).
with-element
(macro).
with-html-output
(macro).
with-output-sink
(macro).
*current-element*
(special variable).
*sink*
(special variable).
escape-uri-attribute
(function).
invoke-with-element
(function).
invoke-with-html-output
(function).
invoke-with-output-sink
(function).
maybe-emit-start-tag
(function).
sink
(class).
sink-encoding
(reader method).
sink-write-rod
(function).
sink-write-rune
(function).
sink-ystream
(reader method).
(setf sink-ystream)
(writer method).
stack
(reader method).
(setf stack)
(writer method).
unparse-attribute
(generic function).
unparse-attribute-string
(function).
unparse-datachar
(function).
unparse-datachar-readable
(function).
unparse-dtd-char
(function).
unparse-dtd-string
(function).
unparse-string
(function).
uri-attribute-p
(function).
closure-html/src/parse/documentation.lisp
html-parser.lisp
(file).
parse
(module).
Packages are listed by definition order.
closure-system
asdf/interface
.
common-lisp
.
closure-source-file
(class).
lalr
common-lisp
.
html-glisp
.
runes
.
define-grammar
(macro).
*debug-dumping*
(special variable).
*endmarker*
(special variable).
*first-terminals-cache*
(special variable).
*lalr-debug*
(special variable).
*topcat*
(constant).
add-state
(function).
build-parser
(function).
build-state
(function).
build-table
(function).
close-items
(function).
compact-items
(function).
compute-expansion
(function).
copy-item
(function).
copy-rule
(function).
copy-shift
(function).
copy-state
(function).
derives-eps
(function).
derives-epsilon
(macro).
expand
(macro).
expand-citems
(macro).
first-terminals
(function).
first-terminals*
(macro).
first-terms
(function).
fixnum=
(macro).
follow-state
(function).
gcats
(special variable).
gepsilons
(special variable).
get-all-cats
(function).
get-state-name
(function).
gexpansions
(special variable).
gfirsts
(special variable).
glex
(special variable).
grules
(special variable).
gstart
(special variable).
gstarts
(special variable).
item
(structure).
item-core-equal
(macro).
item-daughters
(macro).
item-equal
(macro).
item-la
(reader).
(setf item-la)
(writer).
item-p
(function).
item-pos
(reader).
(setf item-pos)
(writer).
item-right
(macro).
item-rule
(reader).
(setf item-rule)
(writer).
items-right
(function).
lookup
(function).
make-item
(function).
make-parser
(function).
make-rule
(function).
make-shift
(function).
make-state
(function).
merge-citems
(function).
nextstateno
(special variable).
print-table
(function).
rule
(structure).
rule-action
(reader).
(setf rule-action)
(writer).
rule-daughters
(reader).
(setf rule-daughters)
(writer).
rule-mother
(reader).
(setf rule-mother)
(writer).
rule-no
(reader).
(setf rule-no)
(writer).
rule-p
(function).
shift
(structure).
shift-cat
(reader).
(setf shift-cat)
(writer).
shift-items
(function).
shift-p
(function).
shift-where
(reader).
(setf shift-where)
(writer).
state
(structure).
state-citems
(reader).
(setf state-citems)
(writer).
state-conflict
(reader).
(setf state-conflict)
(writer).
state-name
(reader).
(setf state-name)
(writer).
state-p
(function).
state-shifts
(reader).
(setf state-shifts)
(writer).
statelist
(special variable).
subsumes-citems
(function).
transform-rule
(function).
translate-state
(function).
closure-html
This package exports functions for HTML parsing and serialization.
In addition, two simple in-memory data structures are included: LHTML, a
lisp-list model. And PT, a simple structure instance model used by
Closure internally.
@begin[Parsing]{section}
@aboutfun{parse}
@end{section}
@begin[Serialization sinks]{section}
@aboutfun{make-octet-vector-sink}
@aboutfun{make-octet-stream-sink}
@aboutfun{make-rod-sink}
@aboutfun{make-character-stream-sink}
@aboutfun{make-string-sink}
@end{section}
@begin[Convenience serialization API]{section}
@aboutmacro{with-html-output}
@aboutmacro{with-element}
@aboutmacro{with-output-sink}
@aboutfun{attribute}
@aboutfun{text}
@aboutfun{comment}
@end{section}
@begin[LHTML model]{section}
@aboutfun{make-lhtml-builder}
@aboutfun{serialize-lhtml}
@end{section}
@begin[PT model]{section}
@aboutfun{make-pt-builder}
@aboutfun{serialize-pt}
@aboutfun{pt-name}
@aboutfun{pt-children}
@aboutfun{pt-parent}
@aboutfun{pt-attrs}
@end{section}
chtml
common-lisp
.
runes
.
sgml
.
*html-dtd*
(special variable).
attribute
(function).
comment
(function).
lhtml-builder
(class).
make-character-stream-sink
(function).
make-lhtml-builder
(function).
make-octet-stream-sink
(function).
make-octet-vector-sink
(function).
make-pt-builder
(function).
make-rod-sink
(function).
make-string-sink
(function).
parse
(function).
pt-builder
(class).
serialize-lhtml
(function).
serialize-pt
(function).
text
(function).
with-element
(macro).
with-html-output
(macro).
with-output-sink
(macro).
*current-element*
(special variable).
*sink*
(special variable).
current
(generic reader).
(setf current)
(generic writer).
escape-uri-attribute
(function).
invoke-with-element
(function).
invoke-with-html-output
(function).
invoke-with-output-sink
(function).
lhtml-reader
(function).
maybe-emit-start-tag
(function).
parse-xstream
(function).
pt-attributes-to-lhtml
(function).
root
(generic reader).
(setf root)
(generic writer).
serialize-lhtml-attributes
(function).
serialize-pt-attributes
(function).
sink
(class).
sink-encoding
(generic reader).
sink-write-rod
(function).
sink-write-rune
(function).
sink-ystream
(generic reader).
(setf sink-ystream)
(generic writer).
stack
(generic reader).
(setf stack)
(generic writer).
unparse-attribute
(generic function).
unparse-attribute-string
(function).
unparse-datachar
(function).
unparse-datachar-readable
(function).
unparse-dtd-char
(function).
unparse-dtd-string
(function).
unparse-string
(function).
unserialize-pt-attributes
(function).
uri-attribute-p
(function).
walk-lhtml
(function).
clex
common-lisp
.
html-glisp
.
runes
.
deflexer
(macro).
*full-table-p*
(special variable).
copy-fsa
(function).
copy-state
(function).
do-bits
(macro).
element-of-set-p
(macro).
frob2
(function).
fsa
(structure).
fsa-branch
(function).
fsa-concat
(function).
fsa-empty
(function).
fsa-end
(reader).
(setf fsa-end)
(writer).
fsa-epsilon-closure/set
(function).
fsa-iterate
(function).
fsa-p
(function).
fsa-start
(reader).
(setf fsa-start)
(writer).
fsa-trivial
(function).
loadable-states-form
(function).
loose-eq
(function).
make-empty-set
(macro).
make-fsa
(function).
make-state
(function).
mungle-transitions
(function).
ndfsa->dfsa
(function).
nset-put
(macro).
number-states
(function).
old/deflexer
(macro).
over-all-states
(function).
parse-char-set
(function).
regexp->fsa
(function).
regexp-expand-splicing
(function).
regexp/and->fsa
(function).
regexp/or->fsa
(function).
set-size
(macro).
state-add-link
(function).
state-eps-transitions
(function).
(setf state-eps-transitions)
(function).
state-final
(function).
(setf state-final)
(function).
state-id
(function).
(setf state-id)
(function).
state-transitions
(function).
(setf state-transitions)
(function).
closure-mime-types
common-lisp
.
html-glisp
.
find-mime-type
(function).
find-mime-type-from-extension
(function).
mime-type-equal
(function).
mime-type-extensions
(reader).
(setf mime-type-extensions)
(writer).
mime-type-name
(reader).
(setf mime-type-name)
(writer).
parse-mime-content-type
(function).
*base64-codes*
(special variable).
*mime-types*
(special variable).
compose-multi-part-message
(function).
compose-multipart/form-data
(function).
copy-mime-type
(function).
decode-base64-string
(function).
define-mime-type
(function).
encode-string-base64
(function).
make-mime-type
(function).
make-simple-disposition
(function).
mime-type
(structure).
mime-type-p
(function).
parse-mime/literal-char-p
(function).
parse-mime/parameter
(function).
parse-mime/parameter-list
(function).
parse-mime/quoted-string
(function).
parse-mime/special
(function).
parse-mime/token
(function).
parse-mime/type-and-subtype
(function).
unparse-content-type
(function).
unparse-parameter-list
(function).
sgml
common-lisp
.
html-glisp
.
runes
.
*options/parser-silent-p*
(special variable).
flat-find-element
(function).
flat-find-elements
(function).
gi
(function).
html-parse-file
(function).
lhtml->pt
(function).
map-pt
(function).
parse-dtd
(function).
ppt
(function).
pt
(structure).
pt-attr
(function).
(setf pt-attr)
(function).
pt-attrs
(reader).
(setf pt-attrs)
(writer).
pt-cdata
(function).
pt-children
(reader).
(setf pt-children)
(writer).
pt-full-name-path
(function).
pt-name
(reader).
(setf pt-name)
(writer).
pt-parent
(reader).
(setf pt-parent)
(writer).
pt-root
(function).
sgml-parse
(function).
*anchor-heuristic-p*
(special variable).
*buf-size*
(special variable).
*dtd*
(special variable).
*entities*
(special variable).
*font-heuristic-p*
(special variable).
*gt-ends-comment-p*
(special variable).
*line-number*
(special variable).
*parse-warn-level*
(special variable).
*preserves-comments-elements*
(special variable).
*simple-catalog*
(special variable).
*unmungle-attribute-case*
(special variable).
a-peek-byte
(macro).
a-read-byte
(macro).
a-stream-position
(macro).
a-stream-scratch
(function).
(setf a-stream-scratch)
(function).
a-unread-byte
(macro).
action
(macro).
add-entity
(function).
all-elms
(function).
alpha-rune-p
(function).
ancestorp
(function).
as-cons
(function).
calculate-resolve-info
(function).
canon-optional-tag-definition
(function).
canon-value
(function).
check-saneness
(function).
comment-token
(structure).
comment-token-data
(reader).
(setf comment-token-data)
(writer).
comment-token-p
(function).
copy-comment-token
(function).
copy-dtd
(function).
copy-element
(function).
copy-end-tag
(function).
copy-hetag-node
(function).
copy-hstag-node
(function).
copy-htag-node
(function).
copy-pt
(function).
copy-start-tag
(function).
copy-tag
(function).
copy-token
(function).
delete-pt
(function).
document-action
(function).
dtd
(structure).
dtd-elements
(reader).
(setf dtd-elements)
(writer).
dtd-elm-surclusion-cache
(reader).
(setf dtd-elm-surclusion-cache)
(writer).
dtd-entities
(reader).
(setf dtd-entities)
(writer).
dtd-name
(reader).
(setf dtd-name)
(writer).
dtd-p
(function).
dtd-parser
(function).
dtd-resolve-info
(reader).
(setf dtd-resolve-info)
(writer).
dtd-root-elements
(reader).
(setf dtd-root-elements)
(writer).
dump-dtd
(function).
element
(structure).
element-attlist
(reader).
(setf element-attlist)
(writer).
element-exclude
(reader).
(setf element-exclude)
(writer).
element-include
(reader).
(setf element-include)
(writer).
element-name
(reader).
(setf element-name)
(writer).
element-obegin?
(reader).
(setf element-obegin?)
(writer).
element-oend?
(reader).
(setf element-oend?)
(writer).
element-p
(function).
elm-etag
(function).
elm-inclusion
(function).
elm-oend?
(function).
elm-ostart?
(function).
elm-stag
(function).
elm-surclusion
(function).
elms-eqv
(function).
empty-element-p
(function).
end-tag
(structure).
end-tag-name
(function).
(setf end-tag-name)
(function).
end-tag-p
(function).
enlarge-scratch-pad
(function).
equivalence-classes
(function).
eqv-classes
(function).
find-dtd-top-elements
(function).
find-element
(function).
find-element-attlist
(function).
find-entity
(function).
find-named-entity
(function).
find-slot-value-pair
(function).
foofoo
(function).
handle-meta-tag-in-parser
(function).
hetag-node
(structure).
hetag-node-attrs
(function).
(setf hetag-node-attrs)
(function).
hetag-node-cache
(function).
(setf hetag-node-cache)
(function).
hetag-node-children
(function).
(setf hetag-node-children)
(function).
hetag-node-name
(function).
(setf hetag-node-name)
(function).
hetag-node-p
(function).
hetag-node-parent
(function).
(setf hetag-node-parent)
(function).
hetag-node-plist
(function).
(setf hetag-node-plist)
(function).
heuristic
(function).
hstag-node
(structure).
hstag-node-attrs
(function).
(setf hstag-node-attrs)
(function).
hstag-node-cache
(function).
(setf hstag-node-cache)
(function).
hstag-node-children
(function).
(setf hstag-node-children)
(function).
hstag-node-name
(function).
(setf hstag-node-name)
(function).
hstag-node-p
(function).
hstag-node-parent
(function).
(setf hstag-node-parent)
(function).
hstag-node-plist
(function).
(setf hstag-node-plist)
(function).
htag-node
(structure).
htag-node-attrs
(function).
(setf htag-node-attrs)
(function).
htag-node-cache
(function).
(setf htag-node-cache)
(function).
htag-node-children
(function).
(setf htag-node-children)
(function).
htag-node-name
(function).
(setf htag-node-name)
(function).
htag-node-p
(function).
htag-node-parent
(function).
(setf htag-node-parent)
(function).
htag-node-plist
(function).
(setf htag-node-plist)
(function).
kintern
(function).
legal-in-p
(function).
make-a-stream
(function).
make-comment-token
(function).
make-dtd
(function).
make-dtd-lexer
(function).
make-element
(function).
make-end-tag
(function).
make-hetag-node
(function).
make-hstag-node
(function).
make-htag-node
(function).
make-pt
(function).
make-pt/low
(function).
make-start-tag
(function).
make-tag
(function).
make-token
(function).
map-htag-pairs
(function).
map-pt-with-pcdata
(function).
mungle
(function).
mungle-attlist
(function).
mungle-font-pair
(function).
name-char-p
(function).
name-rune-p
(function).
name-start-char-p
(function).
name-start-rune-p
(function).
new-entities
(function).
open-public-resource
(function).
open-sgml-resource
(function).
open-system-resource
(function).
parse-html
(function).
parse-warn
(function).
post-mortem-heuristic
(function).
post-mortem/fix-font
(function).
post-mortem/fix-top-level-structure
(function).
print-dtd
(function).
print-end-tag
(function).
print-pt
(function).
print-start-tag
(function).
process-attribute
(function).
process-def-attlist
(function).
process-def-element
(function).
process-dtd-def
(function).
production->name-list
(function).
production->name-list/2
(function).
pt-access
(function).
pt-cache
(reader).
(setf pt-cache)
(writer).
pt-p
(function).
pt-path
(function).
pt-plist
(reader).
(setf pt-plist)
(writer).
push-on-scratch
(function).
raux
(function).
read-attribute
(function).
read-comment
(function).
read-define-tag
(function).
read-define-tag-2
(function).
read-end-tag
(function).
read-entity-ref
(function).
read-experimental-tag
(function).
read-literal
(function).
read-name
(function).
read-name-and-attributes
(function).
read-named-entity
(function).
read-numeric-entity
(function).
read-numeric-entity-aux
(function).
read-pcdata
(function).
read-sloopy-name
(function).
read-sloopy-value
(function).
read-start-tag
(function).
read-tag
(function).
read-tag-error
(function).
read-token
(function).
read-token*
(function).
read-value
(function).
remove-pt
(function).
resolve
(function).
resolve-entities-in-string
(function).
resolve-hex-entity
(function).
resolve-key
(function).
resolve-named-entity
(function).
resolve-numeric-entity
(function).
save-html-dtd
(function).
set-equal
(function).
setup-code-vector
(function).
sgml-parse-file
(function).
sgml-resource-as-string
(function).
shortest-different-beginning
(function).
shortest-path
(function).
shortest-path-to
(function).
shortest-path/aux
(function).
skip-white-space
(function).
sloopy-name-rune-p
(function).
sloopy-value-rune-p
(function).
start-tag
(structure).
start-tag-atts
(reader).
(setf start-tag-atts)
(writer).
start-tag-name
(function).
(setf start-tag-name)
(function).
start-tag-p
(function).
subseq/rod
(function).
tag
(structure).
tag-as-marker-p
(function).
tag-exists?
(function).
tag-name
(reader).
(setf tag-name)
(writer).
tag-p
(function).
token
(structure).
token-p
(function).
transition
(function).
undump-dtd
(function).
upcase-name-rune
(function).
valid-name-string-p
(function).
white-space-token-p
(function).
html-glisp
common-lisp
.
always
(function).
cl-byte-stream
(class).
cl-byte-stream->gstream
(function).
cl-char-stream
(class).
cl-char-stream->gstream
(function).
cl-stream
(class).
compose
(function).
curry
(function).
g/close
(generic function).
g/finish-output
(generic function).
g/peek-char
(function).
g/read-byte
(generic function).
g/read-byte-sequence
(generic function).
g/read-char
(generic function).
g/read-char-sequence
(generic function).
g/read-line
(generic function).
g/read-line*
(generic function).
g/unread-byte
(generic function).
g/unread-char
(generic function).
g/write-byte
(generic function).
g/write-byte-sequence
(generic function).
g/write-char
(generic function).
g/write-string
(generic function).
gstream
(class).
maybe-parse-integer
(function).
multiple-value-or
(macro).
rcurry
(function).
until
(macro).
use-byte-for-char-stream-flavour
(class).
use-char-for-byte-stream-flavour
(class).
while
(macro).
white-space-p
(compiler macro).
white-space-p
(function).
set-equal
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
fixme: exported only for the benefit of Closure
@arg[name]{the element’s name, a string/rod}
@arg[body]{an implicit progn}
@return{the value of @var{body}}
@short{Generate @fun{hax:start-element} and @fun{hax:end-element}
events.}
Execute @var{body} as an implicit progn. Send a start-element event to
the current sink (before the first child element begins, or the
current element ends), including all attributes specified using
@fun{attribute} until that point. Send an end-element event after
@var{body} is finished.
To be used in the extent of an @fun{with-html-output} invocation.
@arg[sink]{a HAX/SAX handler}
@arg[name]{root element name, a rod/string}
@arg[public-id]{nil or the Public ID, a rod/string}
@arg[system-id]{nil or the System ID/URI, a rod/string}
@arg[body]{an implicit progn}
@return{the value of @var{body}}
@short{Generate @fun{hax:start-document} and @fun{hax:end-document}
events.}
Send a start-document event to the current sink, then execute
@var{body} as an implicit progn. Afterwards, send an end-element
event.
@see{with-output-sink}
@see{with-element}
@see{attribute}
@see{text}
@see{comment}
@arg[var]{the variable name, a symbol}
@arg[body]{an implicit progn}
@return{the value of @var{body}}
@short{Bind a variable to the current serialization sink.}
Execute @var{body} as an implicit progn with @var{var} bound to a serialization sink that @var{body} can safely call HAX functions on.
To be used in the extent of an @fun{with-html-output} invocation.
@arg[name]{a string/rod}
@arg[value]{a string/rod or other object}
@return{the @var{value}}
@short{Add an attribute to the current element.}
To be used in the extent of an @fun{with-element} invocation, this function adds an attribute to the element being serialized.
@arg[data]{a string/rod}
@return{the @var{data}}
@short{Write a comment node.}
To be used in the extent of an @fun{with-html-output} invocation, this function serializes a comment.
Finds a mime type by name, returns NIL, if not found, or the mime type object.
Given a file name extension find the corressponding mime type; returned is either NIL, if not found, or the mime-type object.
@return{a HAX handler}
@short{Returns a sink writing to a character stream.}
This function creates a serialization sink. Sinks are HAX handlers
that write events in their normal HTML syntax.
This particular kind of sink writen the HTML document to a stream of element-type @code{character}. The characters written are @em{not} encoded into an external-format. Make sure that the stream’s external format agrees with the encoding declared by the document, if any.
@b{Supported only on Lisps with Unicode support.} On Lisps without
Unicode characters, try @em{make-character-stream-sink/utf8} as
an alternative that has different encoding behaviour, but still uses
character streams.
@see{make-octet-stream-sink}
@see{make-octet-vector-sink}
@see{make-rod-sink}
@see{make-string-sink}
@return{The @class{lhtml-builder}, a HAX handler.}
@short{Create a HAX handler which builds LHTML list structures.}
Example:
@begin{pre}
(chtml:parse "<p>nada</p>" (chtml:make-lhtml-builder))
@end{pre}
@begin{code}
=> (:HTML NIL (:HEAD NIL) (:BODY NIL (:P NIL "nada")))
@end{code}
@see{parse}
@see{serialize-lhtml}
@return{a HAX handler}
@short{Returns a sink writing to an octet stream.}
This function creates a serialization sink. Sinks are HAX handlers
that write events in their normal HTML syntax.
This particular kind of sink writen the HTML document to a stream
of element-type @code{(unsigned-byte 8)}.
@see{make-character-stream-sink}
@see{make-octet-vector-sink}
@see{make-rod-sink}
@see{make-string-sink}
@return{a HAX handler}
@short{Returns a sink creating octet vectors.}
This function creates a serialization sink. Sinks are HAX handlers
that write events in their normal HTML syntax, and return
the result from @fun{hax:end-document}, if applicable.
This particular kind of sink creates an HTML document in an array
of @code{(unsigned-byte 8)}.
@see{make-character-stream-sink}
@see{make-octet-stream-sink}
@see{make-rod-sink}
@see{make-string-sink}
@return{The @class{pt-builder}, a HAX handler.}
@short{Create a HAX handler which builds @class{pt} structures.}
Example:
@begin{pre}
(chtml:parse "<p>nada</p>" (chtml:make-pt-builder))
@end{pre}
@begin{code}
=> #<SGML:PT HTML ..>
@end{code}
@see{parse}
@see{serialize-pt}
@return{a HAX handler}
@short{Returns a sink creating rods.}
This function creates a serialization sink. Sinks are HAX handlers
that write events in their normal HTML syntax, and return
the result from @fun{hax:end-document}, if applicable.
This particular kind of sink creates an HTML document in a rod.
On Lisps with Unicode support, @code{make-string-sink} is an alias for
this function.
@see{make-character-stream-sink}
@see{make-octet-stream-sink}
@see{make-octet-vector-sink}
@see{make-string-sink}
@return{a HAX handler}
@short{Returns a sink creating strings.}
This function creates a serialization sink. Sinks are HAX handlers
that write events in their normal HTML syntax, and return
the result from @fun{hax:end-document}, if applicable.
This particular kind of sink creates an HTML document in a string.
The string is @em{not} encoded into an external-format. When
writing this string to a Lisp character stream at a later point, make
sure that the stream’s external format agrees with the encoding
declared by the document, if any.
@b{Supported only on Lisps with Unicode support.} On Lisps without
Unicode characters, try @em{make-string-sink/utf8} as an alternative
that has different encoding behaviour, but still uses strings. Or
use @em{make-rod-sink}, which creates arrays of code points.
@see{make-character-stream-sink}
@see{make-octet-stream-sink}
@see{make-octet-vector-sink}
@see{make-rod-sink}
Apply ’fun’ to all parse tree nodes in ’pt’.
name
.
@arg[input]{a pathname, stream, string, or octet array}
@arg[handler]{nil, or a HAX/SAX handler}
@return{The return value of this function is determined by the
@var{handler} argument; see below.}
@short{Parse the HTML document given as an argument, or referred to
using a pathname.}
@var{input} can have one of the following types:
@begin{itemize}
@item{pathname – a Common Lisp pathname. Opens the file specified by
the pathname parses it as an HTML document.}
@item{stream – a Common Lisp stream that has already been opened.}
@item{array – an @code{(unsigned-byte 8)} array. The array is parsed
directly, and interpreted according to the encoding it specifies.}
@item{string/rod – a rod (or string on unicode-capable
implementations). Parses an XML document from the input string that
has already undergone external-format decoding.}
@end{itemize}
If @var{handler} is @code{nil}, the parser’s internal representation
of the document is returned. The result is equivalent to that
returned using a PT builder as returned by @fun{make-pt-builder}, but
avoids creating the same representation twice.
Alternatively, @var{handler} can be a HAX handler
(see @class{hax:abstract-handler}) or a SAX handler (see the
@a[http://common-lisp.net/project/cxml/sax.html#sax]{SAX protocol in
cxml}). In this case, the document will be serialized to the specified
handler, and the result of @fun{hax:end-document} will be returned
from this function. Note that the parser will currently always process
the entire document before sending the first HAX event.
@arg[instance]{a @class{pt} node}
@return{a plist}
@short{Returns the element’s attributes as a plist.}
This plist maps attribute names to their values.
Attribute names are symbols in the keyword package with uppercase names. Attribute values are strings/rods.
@arg[instance]{a @class{pt} node}
@return{a list}
@short{Returns the element’s children.}
The children of a PT node are strings (rods) for text nodes, or other PT nodes for elements.
@see{pt-parent}
@arg[instance]{a @class{pt} node}
@return{a keyword symbol}
@short{Returns the element’s name.}
HTML element names are symbols in the keyword package with uppercase names.
@arg[instance]{a @class{pt} node}
@return{nil, or a @class{pt} node}
@short{Returns the element’s parent node.}
This slot should refer to the node’s parent, if it is included
in the list of that node’s children.
@see{pt-children}
@arg[document]{an LHTML list}
@arg[handler]{a HAX/SAX handler}
@arg[name]{root element name, a rod/string}
@arg[public-id]{nil or the Public ID, a rod/string}
@arg[system-id]{nil or the System ID/URI, a rod/string}
@return{The return value of this function is determined by the
@var{handler} argument; see below.}
@short{Serialize the LHTML document into HAX events, sent to the
specified HAX handler.}
@var{handler} can be a HAX handler
(see @class{hax:abstract-handler}) or a SAX handler (see the
@a[http://common-lisp.net/project/cxml/sax.html#sax]{SAX protocol in
cxml}).
The result of calling @fun{hax:end-document} on the handler will be
returned from this function.
If @var{system-id} is specified, a doctype will be written
according to the arguments @var{name}, @var{public-id}, and
@var{system-id}.
Use this function with a serialization sink to get a string or file
with a serialized HTML document, or with a HAX/SAX builder to
convert LHTML into a different representation, like DOM, PT, or
STP.
Example:
@begin{pre}
(let ((x ’(:HTML NIL (:HEAD NIL) (:BODY NIL (:P NIL "nada"))))))
(chtml:serialize-lhtml x (chtml:make-string-sink))
@end{pre}
@begin{code}
=> "<HTML><HEAD></HEAD><BODY><P>nada</P></BODY></HTML>"
@end{code}
@see{parse}
@see{make-lhtml-builder}
@arg[document]{an @class{pt} instance}
@arg[handler]{a HAX/SAX handler}
@arg[name]{root element name, a rod/string}
@arg[public-id]{nil or the Public ID, a rod/string}
@arg[system-id]{nil or the System ID/URI, a rod/string}
@return{The return value of this function is determined by the
@var{handler} argument; see below.}
@short{Serialize the PT node into HAX events, sent to the
specified HAX handler.}
@var{handler} can be a HAX handler
(see @class{hax:abstract-handler}) or a SAX handler (see the
@a[http://common-lisp.net/project/cxml/sax.html#sax]{SAX protocol in
cxml}).
The result of calling @fun{hax:end-document} on the handler will be
returned from this function.
If @var{system-id} is specified, a doctype will be written
according to the arguments @var{name}, @var{public-id}, and
@var{system-id}.
Use this function with a serialization sink to get a string or file
with a serialized HTML document, or with a HAX/SAX builder to
convert PT into a different representation, like DOM, LHTML, or
STP.
Example:
@begin{pre}
(let ((x (chtml:parse "<p>nada</p>" (chtml:make-pt-builder)))))
(chtml:serialize-pt x (chtml:make-string-sink))
@end{pre}
@begin{code}
=> "<HTML><HEAD></HEAD><BODY><P>nada</P></BODY></HTML>"
@end{code}
@see{parse}
@see{make-pt-builder}
@arg[data]{a string/rod}
@return{the @var{data}}
@short{Write a text node.}
To be used in the extent of an @fun{with-html-output} invocation, this function serializes a text node.
cl-byte-stream
) &optional eof-error-p eof-value) ¶use-char-for-byte-stream-flavour
) &optional eof-error-p eof-value) ¶cl-byte-stream
) &key start end) ¶cl-char-stream
) &optional eof-error-p eof-value) ¶use-byte-for-char-stream-flavour
) &optional eof-error-p eof-value) ¶cl-byte-stream
)) ¶use-char-for-byte-stream-flavour
)) ¶cl-char-stream
)) ¶use-byte-for-char-stream-flavour
)) ¶cl-byte-stream
)) ¶use-char-for-byte-stream-flavour
)) ¶cl-byte-stream
) &key start end) ¶cl-char-stream
)) ¶use-byte-for-char-stream-flavour
)) ¶pt-builder
) data) ¶hax
.
lhtml-builder
) data) ¶hax
.
pt-builder
) data) ¶hax
.
lhtml-builder
) data) ¶hax
.
pt-builder
)) ¶hax
.
lhtml-builder
)) ¶hax
.
pt-builder
) name) ¶hax
.
lhtml-builder
) name) ¶hax
.
comment-token
) &optional env) ¶compile-op
) (s closure-source-file
)) ¶asdf/action
.
pt-builder
) name pubid sysid) ¶hax
.
lhtml-builder
) name pubid sysid) ¶hax
.
pt-builder
) name attrs) ¶hax
.
lhtml-builder
) name attrs) ¶hax
.
@short{Represents an HTML element.}
PT represents each HTML element as a structure instance, named by
a keyword symbol. The children of a PT node are strings (rods)
for text nodes, or other PT nodes for elements.
@see{make-pt-builder}
@see{serialize-pt}
@see-slot{pt-name}
@see-slot{pt-children}
@see-slot{pt-parent}
@see-slot{pt-attrs}
:cl-stream
@short{A HAX handler which builds LHTML list structures.}
LHTML represents each HTML element as a list of the form
@code{(}@em{name}@code{ (}@em{attributes...}@code{) }@em{children...}@code{)}
and each attribute as a list of the form
@code{(}@em{name value}@code{)}
Element and attribute names are symbols in the keyword package
with uppercase names. Attribute values are rods or strings.
@see{make-lhtml-builder}
@see{serialize-lhtml}
@short{A HAX handler which builds PT structures.}
PT represents each HTML element as a structure instance of type
@class{pt}.
@see{make-pt-builder}
@see{serialize-pt}
Whether to handle A tags by heuristic and post mortem processing.
sgml
.
Whether to handle FONT by heuristic and post mortem processing.
sgml
.
Whether and ’>’ ends a comment? – A warning is emitted still.
sgml
.
Inserts debugging code into parser if non-NIL
A simple list of all defined mime types
List of names of elements, which should preserve (may contain) comment tokens.
sgml
.
looks up the cache to see if c derives the null string
Iterate body with ‘var’ over all elements of ‘set’.
Determine whether ‘elm’ is element of the set ‘set’.
expands a list of compact items into items
T if the cores of c1 and c2 are equal
Create the empty set on the domain [0,n).
Destructively calculate bag = bag U {new}.
Return the upper bound of the domain of ‘set’.
creates a new state and adds it to the state list
Is ‘putative-ancestor’ is an ancestor of ‘node’.
returns an lalr(1) parser. next-input must return 2 values!
creates the states that this state can goto
computes the closure of a set of items
collapses items with the same core to compact items
Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.
clex
.
copy-seq
.
Define or re-define a mime type.
Deletes the parse tree node ‘node’ (destructive wrt children list).
t if c can be rewritten as the null string
sgml
.
sgml
.
sgml
.
sgml
.
sgml
.
sgml
.
sgml
.
sgml
.
sgml
.
sgml
.
sgml
.
For a given element ’e’ calculate the surclusion, that is the set of all elements, which may contain ‘e’ as direct child.
sgml
.
the leading terminals of an expansion of catList
percolates look-ahead onto descendant states of this state
Alternation of a0..an; Hence ‘a0 | a1 | ... | an’.
Concatenation of ‘a1’ and ‘a2’. Hence ‘a1 a2’.
Augment the epsilon closure of the state ‘state’ into ‘state-set’.
Accepts the trivial word consisting out of exactly one ‘char’.
returns the state name for this set of items
returns the set of categories appearing to the right of the dot
finds a state with the same core items as citems if it exits
sgml
.
Takes a grammar and produces the Lisp code for a parser for that grammar
Apply ‘fun’ to all parse tree nodes in ‘pt’ including PCDATA nodes.
Adds the las of ci1s to ci2s. ci2s should subsume ci1s
Number all state reachable form ‘starts’, continuosly from 0. Each state got
it’s number stuck into the ‘id’ slot.
Returns two values: ‘n’ the number of states and ‘tab’ a table to lookup a
state given the number it got attached to.
Do possible post mortem heuristic on a parse tree.
sgml
.
Removes the parse tree node ‘node’ (non-destructive wrt children list).
sgml
.
Add a transition to state ‘this’; reading ‘char’ proceeds to ‘that’.
T if the sorted set of items ci2s subsumes the sorted set ci1s
translates a state into lisp code that could appear in a TAGBODY form
Is the string ‘string’ a valid name string according to the SGML conventions?
sgml
.
pt-builder
)) ¶automatically generated reader method
pt-builder
)) ¶automatically generated writer method
lhtml-builder
)) ¶automatically generated reader method
root
.
pt-builder
)) ¶automatically generated reader method
root
.
lhtml-builder
)) ¶automatically generated writer method
root
.
pt-builder
)) ¶automatically generated writer method
root
.
lhtml-builder
)) ¶automatically generated reader method
sink
)) ¶automatically generated writer method
lhtml-builder
)) ¶automatically generated writer method
sgml
.
structure-object
.
cl-source-file
.
Jump to: | (
A B C D E F G H I K L M N O P R S T U V W X |
---|
Jump to: | (
A B C D E F G H I K L M N O P R S T U V W X |
---|
Jump to: | *
A C D E G I L M N O P R S W Y |
---|
Jump to: | *
A C D E G I L M N O P R S W Y |
---|
Jump to: | C D E F G H I L M N P R S T U |
---|
Jump to: | C D E F G H I L M N P R S T U |
---|