Lamcal

Crates.io Docs.rs Linux Build Status Windows Build Status codevoc.io Apache-2.0

[lamcal] is a [Lambda Calculus] parser and evaluator written in [Rust].

It can be used to

The separate crate [lamcal-repl] provides a command line REPL (read-evaluate-print-loop) application to play around with lambda calculus terms and applying α-conversion and β-reduction interactively.

Features:

Usage

To use [lamcal] as a library in your project add this to your Cargo.toml file:

toml [dependencies] lamcal = "0.2"

and this to your crate root:

rust extern crate lamcal;

For details about the library see the [documentation] at crates.io.

This library optionally supports the [failure] crate. The support for the failure crate is a crate feature. To enable it add the dependency to your Cargo.toml like so:

toml [dependencies] lamcal = { version = "0.2", features = ["failure"] }

License

Licensed under Apache License, Version 2.0
see [LICENSE] or http://www.apache.org/licenses/LICENSE-2.0 for details.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.