[![crate](https://img.shields.io/crates/v/lexi_gram.svg)](https://crates.io/crates/lexi-gram)
[![documentation](https://docs.rs/lexi-gram/badge.svg)](https://docs.rs/lexi-gram)
[![crate](https://img.shields.io/crates/l/lexi_gram.svg)](https://github.com/blueglyph/lexigram/blob/master/LICENSE-MIT)

<hr/>

# Lexigram

This crate is part of the [Lexigram](https://github.com/blueglyph/lexigram) project, a lexer/parser generator.

You can dive into the [Lexigram book](https://www.unscript.net/lexigram-book) for an introduction, a tutorial, or a reference. You can also browse the [crate documentation](https://docs.rs/lexi-gram).

If you're looking for the command-line executable, you'll find it in the [`lexigram`](https://crates.io/crates/lexigram) crate, along with a quick overview.

# The `lexi-gram` Crate

The [`lexi-gram`](https://crates.io/crates/lexi-gram) crate contains the source code of Lexi and Gram, the two parsers for the lexicon and grammar files read by Lexigram. It also provides an API to easily generate the parser source programmatically.

Additional information can be found in the corresponding section of the [Lexigram book](https://www.unscript.net/lexigram-book/crates.html#lexi-gram).

# Status

This project is still under development and shouldn't be considered fully stable yet (hence the 0.x version). See the main project's [README](https://github.com/blueglyph/lexigram/blob/master/README.md).

_The code and the documentation were entirely written by a human._

# Releases

[RELEASES.md](https://github.com/blueglyph/lexigram/blob/master/RELEASES.md) keeps a log of all the releases (most are also on the [GitHub release page](https://github.com/blueglyph/lexigram/releases)). 

# Licence

This code is licenced under either [MIT License](https://choosealicense.com/licenses/mit/) or [Apache License 2.0](https://choosealicense.com/licenses/apache-2.0/), at your option.
