This is the cl-yaclyaml Reference Manual, version 1.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:34:12 2024 GMT+0.
cl-yaclyaml/cl-yaclyaml.asd
cl-yaclyaml/package.lisp
cl-yaclyaml/macro-utils.lisp
cl-yaclyaml/parsing-macro.lisp
cl-yaclyaml/parsing-macro-2.lisp
cl-yaclyaml/parsing.lisp
cl-yaclyaml/composing.lisp
cl-yaclyaml/convert.lisp
cl-yaclyaml/schema.lisp
cl-yaclyaml/constructing.lisp
cl-yaclyaml/representing.lisp
cl-yaclyaml/serializing.lisp
The main system appears first, followed by any subsystem dependency.
cl-yaclyaml
Yet Another Common Lisp YaML processor.
Alexander Popolitov <popolit@itep.ru>
GPL
1.1
iterate
(system).
rutils
(system).
cl-test-more
(system).
cl-interpol
(system).
esrap-liquid
(system).
alexandria
(system).
cl-ppcre
(system).
parse-number
(system).
package.lisp
(file).
macro-utils.lisp
(file).
parsing-macro.lisp
(file).
parsing-macro-2.lisp
(file).
parsing.lisp
(file).
composing.lisp
(file).
convert.lisp
(file).
schema.lisp
(file).
constructing.lisp
(file).
representing.lisp
(file).
serializing.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-yaclyaml/cl-yaclyaml.asd
cl-yaclyaml/package.lisp
cl-yaclyaml/macro-utils.lisp
cl-yaclyaml/parsing-macro.lisp
cl-yaclyaml/parsing-macro-2.lisp
cl-yaclyaml/parsing.lisp
cl-yaclyaml/composing.lisp
cl-yaclyaml/convert.lisp
cl-yaclyaml/schema.lisp
cl-yaclyaml/constructing.lisp
cl-yaclyaml/representing.lisp
cl-yaclyaml/serializing.lisp
cl-yaclyaml/cl-yaclyaml.asd
cl-yaclyaml
(system).
cl-yaclyaml/macro-utils.lisp
package.lisp
(file).
cl-yaclyaml
(system).
crunch-tag-into-properties
(macro).
cl-yaclyaml/parsing-macro.lisp
macro-utils.lisp
(file).
cl-yaclyaml
(system).
yaclyaml-parse
(macro).
define-nc-yaclyaml-rule
(macro).
define-yaclyaml-rule
(macro).
mk-yaclyaml-tokenizer
(macro).
register-yaclyaml-context
(macro).
with-yaclyaml-contexts
(macro).
with-yaclyaml-rules
(macro).
yaclyaml-contexts
(special variable).
yaclyaml-parse-stream
(macro).
yaclyaml-parse-token-iter
(macro).
yaclyaml-rules
(special variable).
cl-yaclyaml/parsing-macro-2.lisp
parsing-macro.lisp
(file).
cl-yaclyaml
(system).
yy-parse
(macro).
define-alias-rule
(macro).
define-context-forcing-rule
(macro).
define-yy-rule
(macro).
cl-yaclyaml/parsing.lisp
parsing-macro-2.lisp
(file).
cl-yaclyaml
(system).
hash->assoc
(function).
autodetect-indent-style-p
(function).
block-in-context-p
(function).
block-key-context-p
(function).
block-out-context-p
(function).
block-scalar-chomping
(special variable).
block-scalar-style
(special variable).
c-printable-p
(function).
clip-block-scalar-chomping-p
(function).
compile-tag-handles
(function).
context
(special variable).
default-local-tagspace
(special variable).
default-yaml-tagspace
(special variable).
determined-indent-style-p
(function).
flow-in-context-p
(function).
flow-key-context-p
(function).
flow-out-context-p
(function).
folded-block-scalar-style-p
(function).
in-flow
(function).
indent-style
(special variable).
keep-block-scalar-chomping-p
(function).
literal-block-scalar-style-p
(function).
n
(special variable).
nb-json-p
(function).
nil-n-p
(function).
resolve-handle
(function).
seq-spaces
(function).
strip-block-scalar-chomping-p
(function).
tag-handles
(special variable).
try-resolve
(function).
vanilla-mapping-tag
(special variable).
vanilla-scalar-tag
(special variable).
vanilla-sequence-tag
(special variable).
whitespace-p
(function).
with-ensured-properties-not-alias
(macro).
yaml-version
(special variable).
cl-yaclyaml/composing.lisp
parsing.lisp
(file).
cl-yaclyaml
(system).
ncompose-representation-graph
(function).
alias-p
(function).
anchors
(special variable).
mapping-node-p
(function).
property-node-p
(function).
cl-yaclyaml/convert.lisp
composing.lisp
(file).
cl-yaclyaml
(system).
convert-mapping
(function).
convert-mapping-to-hashtable
(function).
convert-node
(function).
convert-scalar
(function).
convert-sequence
(function).
convert-sequence-to-list
(function).
install-mapping-converter
(function).
install-mapping-hashtable-converter
(function).
install-scalar-converter
(function).
install-sequence-converter
(function).
install-sequence-list-converter
(function).
%depth-first-traverse
(function).
convert-mapping!
(function).
convert-scalar!
(function).
convert-sequence!
(function).
converted-nodes
(special variable).
converted-p
(function).
define-bang-convert
(macro).
initialization-callbacks
(special variable).
mapping-converters
(special variable).
mapping-p
(function).
mark-node-as-visited
(function).
scalar-converters
(special variable).
scalar-p
(function).
sequence-converters
(special variable).
trivial-scalar-converter
(function).
visited-nodes
(special variable).
visited-p
(function).
cl-yaclyaml/schema.lisp
convert.lisp
(file).
cl-yaclyaml
(system).
convert-non-specific-scalar
(generic function).
core-schema
(class).
failsafe-schema
(class).
install-converters
(generic function).
json-schema
(class).
register-schema
(function).
yaml-schema
(class).
yaml-schema-unspecific-mixin
(class).
schemas
(special variable).
with-schema
(macro).
cl-yaclyaml/constructing.lisp
schema.lisp
(file).
cl-yaclyaml
(system).
construct
(function).
define-yaml-config
(macro).
yaml-load
(function).
yaml-load-file
(function).
yaml-simple-load
(function).
yaml-load-file-error
(condition).
yaml-load-file-error-message
(reader method).
cl-yaclyaml/representing.lisp
constructing.lisp
(file).
cl-yaclyaml
(system).
represent-node
(function).
%represent-node
(function).
alist-p
(function).
cons-maps-as-maps
(special variable).
lisp-tag-prefix
(special variable).
plist-p
(function).
represent-mapping
(function).
represent-scalar
(function).
represent-sequence
(function).
tag-prefix
(special variable).
cl-yaclyaml/serializing.lisp
representing.lisp
(file).
cl-yaclyaml
(system).
nserialize
(function).
%nserialize
(function).
alias-count
(special variable).
encountered-nodes
(special variable).
node-aliases
(special variable).
Packages are listed by definition order.
cl-yaclyaml
cl-yy
cl-ppcre
.
common-lisp
.
esrap-liquid
.
iterate
.
org.mapcar.parse-number
.
rutils.string
.
construct
(function).
convert-mapping
(function).
convert-mapping-to-hashtable
(function).
convert-node
(function).
convert-non-specific-scalar
(generic function).
convert-scalar
(function).
convert-sequence
(function).
convert-sequence-to-list
(function).
core-schema
(class).
define-yaml-config
(macro).
failsafe-schema
(class).
hash->assoc
(function).
install-converters
(generic function).
install-mapping-converter
(function).
install-mapping-hashtable-converter
(function).
install-scalar-converter
(function).
install-sequence-converter
(function).
install-sequence-list-converter
(function).
json-schema
(class).
ncompose-representation-graph
(function).
nserialize
(function).
register-schema
(function).
represent-node
(function).
yaclyaml-parse
(macro).
yaml-load
(function).
yaml-load-file
(function).
yaml-schema
(class).
yaml-schema-unspecific-mixin
(class).
yaml-simple-load
(function).
yy-parse
(macro).
%depth-first-traverse
(function).
%nserialize
(function).
%represent-node
(function).
alias-count
(special variable).
alias-p
(function).
alist-p
(function).
anchors
(special variable).
autodetect-indent-style-p
(function).
block-in-context-p
(function).
block-key-context-p
(function).
block-out-context-p
(function).
block-scalar-chomping
(special variable).
block-scalar-style
(special variable).
c-printable-p
(function).
clip-block-scalar-chomping-p
(function).
compile-tag-handles
(function).
cons-maps-as-maps
(special variable).
context
(special variable).
convert-mapping!
(function).
convert-scalar!
(function).
convert-sequence!
(function).
converted-nodes
(special variable).
converted-p
(function).
crunch-tag-into-properties
(macro).
default-local-tagspace
(special variable).
default-yaml-tagspace
(special variable).
define-alias-rule
(macro).
define-bang-convert
(macro).
define-context-forcing-rule
(macro).
define-nc-yaclyaml-rule
(macro).
define-yaclyaml-rule
(macro).
define-yy-rule
(macro).
determined-indent-style-p
(function).
encountered-nodes
(special variable).
flow-in-context-p
(function).
flow-key-context-p
(function).
flow-out-context-p
(function).
folded-block-scalar-style-p
(function).
in-flow
(function).
indent-style
(special variable).
initialization-callbacks
(special variable).
keep-block-scalar-chomping-p
(function).
lisp-tag-prefix
(special variable).
literal-block-scalar-style-p
(function).
mapping-converters
(special variable).
mapping-node-p
(function).
mapping-p
(function).
mark-node-as-visited
(function).
mk-yaclyaml-tokenizer
(macro).
n
(special variable).
nb-json-p
(function).
nil-n-p
(function).
node-aliases
(special variable).
plist-p
(function).
property-node-p
(function).
register-yaclyaml-context
(macro).
represent-mapping
(function).
represent-scalar
(function).
represent-sequence
(function).
resolve-handle
(function).
scalar-converters
(special variable).
scalar-p
(function).
schemas
(special variable).
seq-spaces
(function).
sequence-converters
(special variable).
strip-block-scalar-chomping-p
(function).
tag-handles
(special variable).
tag-prefix
(special variable).
trivial-scalar-converter
(function).
try-resolve
(function).
vanilla-mapping-tag
(special variable).
vanilla-scalar-tag
(special variable).
vanilla-sequence-tag
(special variable).
visited-nodes
(special variable).
visited-p
(function).
whitespace-p
(function).
with-ensured-properties-not-alias
(macro).
with-schema
(macro).
with-yaclyaml-contexts
(macro).
with-yaclyaml-rules
(macro).
yaclyaml-contexts
(special variable).
yaclyaml-parse-stream
(macro).
yaclyaml-parse-token-iter
(macro).
yaclyaml-rules
(special variable).
yaml-load-file-error
(condition).
yaml-load-file-error-message
(generic reader).
yaml-version
(special variable).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Convert a raw mapping node to a hash-table of converted values.
Convert a parsed node into a user object.
Convert a raw sequence node to a list of converted values.
Install a mapping converter in the current scheme.
Should be called from an INSTALL-CONVERTERS method.
TAG is a string containing the yaml tag for the content.
CONVERTER is a function which takes a raw mapping node
as input and returns the converted value.
The content is a list where the CAR is the keyword :MAPPING
and the CDR is an alist of key-value pairs, where both the key and
value are raw nodes.
The converter function should convert the sub-nodes, either with CONVERT-SEQUENCE-TO-LIST, or CONVERT-NODE on each node.
Install a mapping converter in the current scheme.
Should be called from an INSTALL-CONVERTERS method.
TAG is a string containing the yaml tag for the content.
CONVERTER is a function that takes a hash-table of converted values
and returns the converted value from the list.
This is probably preferable to INSTALL-MAPPING-CONVERTER in user code.
Install a scalar converter in the current scheme.
Should be called from an INSTALL-CONVERTERS method.
TAG is a string containing the yaml tag for the content. CONVERTER is a function which takes a string containing the scalar input and returns the converted value.
Install a sequence converter in the current scheme.
Should be called from an INSTALL-CONVERTERS method.
TAG is a string containing the yaml tag for the content.
CONVERTER is a function which takes a list of raw nodes
as input and returns the converted value.
The converter function should convert the nodes, either with CONVERT-SEQUENCE-TO-LIST, or CONVERT-NODE on each node.
Install a sequence converter in the current scheme.
Should be called from an INSTALL-CONVERTERS method.
TAG is a string containing the yaml tag for the content.
CONVERTER is a function that takes a list of converted values
and returns the converted value from the list.
This is probably preferable to INSTALL-SEQUENCE-CONVERTER in user code.
Destructively composes representation graph from representation tree.
Destructively convert representation graph (which may contain loops) to representation tree, where all shared-ness is represented via alias-nodes.
Register a schema with a symbol. After registering, the symbol can be passed
as the SCHEMA argument to the parsing functions.
This function creates a new instance of CLASS-NAME with the arguments passed as
INIT-ARGS and registers it with the symbol NAME.
NAME: The symbol for the schema to be registered.
CLASS-NAME: The symbol for the name of the class of the schema to create and register.
INIT-ARGS: Additional arguments to pass to MAKE-INSTANCE.
Convert the content of a non-specific scalar node based
on the schema. Default implementation just calls CONVERT-SCALAR with the str tag.
Implementations should call CALL-NEXT-METHOD for contents it doesn’t know how to process.
core-schema
) content) ¶json-schema
) content) ¶Install converters for a schema before parsing.
progn
.
:most-specific-last
json-schema
)) ¶failsafe-schema
)) ¶yaml-schema-unspecific-mixin
)) ¶Implementation of the core schema for yaml.
Implementation of the failsafe schema for yaml.
Implementation of the json schema for ymal.
Base class for yaml schemas.
Mixin to add a scalar-converter for :non-specific that
calls CONVERT-NON-SPECIFIC-SCALAR with the schema and the content.
If T, represent alists and plists as mappings, not as sequences
Hash table of available schemas. The keys are symbols and the values are instances of YAML-SCHEMA.
Execute BODY in a context where SCALAR-CONVERTERS, SEQUENCE-CONVERTERS, and MAPPING-CONVERTERS have been bound to new hash tables with converters installed by the schema.
Returns T if X is an association list in a narrow sense - all CAR’s of assocs are non-duplicating symbols.
Returns T if X is a property list in a narrow sense - all odd elements are non-duplicating symbols.
yaml-load-file-error
)) ¶Jump to: | %
A B C D F G H I K L M N P R S T V W Y |
---|
Jump to: | %
A B C D F G H I K L M N P R S T V W Y |
---|
Jump to: | A B C D E I L M N S T V Y |
---|
Jump to: | A B C D E I L M N S T V Y |
---|
Jump to: | C F J M P R S Y |
---|
Jump to: | C F J M P R S Y |
---|