Expand description
SISE (Simple S-expression) is a file format based on S-expressions.
§Minimum Rust version
The minimum Rust version required by this crate is 1.56.
Macros§
- sise_
tree - Macro to define trees of nodes with a lighter syntax.
Structs§
- Parser
- Parser that decodes a SISE file into a sequence of
ParsedItem
. - Serializer
- Serializes into a possibly multi-line string.
- Serializer
Style
Enums§
- Parse
Error - Represents a parse error.
- Parsed
Item - Tree
Node - A SISE tree node.
Functions§
- check_
atom - Checks whether
atom
is a valid atom (i.e. matches the regular expression documented atTreeNode::Atom
). - is_
atom_ chr - Returns whether
chr
is a valid atom character outside a string (i.e. one of:atomchar:
documented atTreeNode::Atom
). - is_
atom_ string_ chr - Returns whether
chr
is a valid atom character inside a string, excluding"
and\
(i.e. one of:stringchar:
documented atTreeNode::Atom
). - parse_
tree - Parses into a tree of
TreeNode
. - serialize_
tree - Serializes a tree of nodes into
serializer
.