Crate sise

source · []
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

Macro to define trees of nodes with a lighter syntax.

Structs

Parser that decodes a SISE file into a sequence of ParsedItem.

Serializes into a possibly multi-line string.

Enums

Represents a parse error.

A SISE tree node.

Functions

Checks whether atom is a valid atom (i.e. matches the regular expression documented at TreeNode::Atom).

Returns whether chr is a valid atom character outside a string (i.e. one of :atomchar: documented at TreeNode::Atom).

Returns whether chr is a valid atom character inside a string, excluding " and \ (i.e. one of :stringchar: documented at TreeNode::Atom).

Parses into a tree of TreeNode.

Serializes a tree of nodes into serializer.