exprz

Crates.ioexprz
lib.rsexprz
version0.0.15
sourcesrc
created_at2020-11-13 22:56:56.349485
updated_at2021-04-11 04:06:05.184231
descriptionAn Expression Library
homepagehttps://github.com/qdeduction/exprz
repositoryhttps://github.com/qdeduction/exprz
max_upload_size
id312127
size270,106
Brandon H. Gomes (bhgomes)

documentation

https://docs.rs/exprz

README

ExprZ

Workflow Status Project Crate Documentation

An Expression Library

About

ExprZ is an expression representation and parsing library. ExprZ expressions are typed s-expressions formed from atoms or groups of expressions and represent enumerated types of the form

enum Expr<A> {
    Atom(A),
    Group(Vec<Self>),
}

ExprZ generalizes this enum by defining an Expression trait which encompasses the algebraic properties of the above enum but which affords the user the flexibility of a more efficient implementation.

ExprZ comes with default implementations of Expression which use the Rust alloc library. To access these implementations use the alloc feature on the crate.

Rust Nightly

The most recent version of ExprZ uses the Rust nightly compiler toolchain which is necessary for defining the main Expression trait. In the future we hope to remove this requirement as the Expression API becomes more refined over time or once the standard compiler toolchain catches up.

Getting Started

For more information on how to use ExprZ, see the documentation.

License

This project is licensed under the ISC License. See LICENSE for more information.


Author License Source

Commit count: 113

cargo fmt