Code Monkey home page Code Monkey logo

exprz's Introduction

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

exprz's People

Contributors

bhgomes avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.