Crate symbolic_expressions [] [src]

symbolic-expressions parsing and generating library

Reexports

pub use iteratom::from_sexp;

Modules

iteratom

high-level API for deconstructing symbolic-expressions

parser

symbolic-expression parser code: data -> symbolic-expression

ser

symbolic-expression serialization code: symbolic-expression -> data

Structs

Error

The Error type.

ParseError

detailed symbolic-expression parse error information

Enums

ErrorKind

The kind of an error.

Sexp

a symbolic-expression Can be a string or a list or nothing

Traits

Formatter

trait for formatting the serialization of a symbolic-expression

IntoSexp

like Into trait but works from a ref avoiding consumption or expensive clone

ResultExt

Additional methods for Result, for easy interaction with this crate.

Functions

encode_string

encode a string according to the guidelines given by Kicad

parse_error

utility function that creates a symbolic-expressions Error Result for a parser error

Type Definitions

Result

Convenient wrapper around std::Result.

Rules

datatype used by the example Formatter RulesFormatter