15 stable releases
4.3.0 | Sep 18, 2023 |
---|---|
4.2.4 | Jul 19, 2023 |
4.2.0 | Oct 26, 2022 |
4.1.2 | Jun 8, 2022 |
3.3.1 | Feb 18, 2018 |
#73 in Algorithms
147 downloads per month
Used in 3 crates
250KB
5K
SLoC
Hime Rust Runtime
The Rust implementation of the runtime for lexers and parsers generated with Hime. For more information about how to generate parsers using Hime, head to Hime. The code for this library is available on Github. The API documentation is available on docs.rs. This software is developed by the Assocation Cénotélie, France.
Usage
This crate is on crates.io and can be
used by adding hime_redist
to your dependencies in your project's Cargo.toml
.
[dependencies]
hime_redist = "4.3"
Generated lexer and parser codes will import this crate and provide a simple API to parse input text.
Support for no_std
As of version 4.3.0
, this crate support no_std
contexts.
This crate has an std
feature which is activated by default for retro-compatibility but can deactivated as follow:
[dependencies]
hime_redist = { version = "4.3", default-features = false }
The only dependency of this crate (serde
) also does not require std
support, and will only use its std
feature when the std
feature of this crate is activated (which it is by default).
De-activating std
for this crate also de-activates std
for serde.
How can I contribute?
The simplest way to contribute is to:
- Fork this repository on GitHub.
- Fix some issue or implement a new feature.
- Create a merge request on GitHub.
Patches can also be submitted by email, or through the issue management system.
The isse tracker contains tickets that are accessible to newcomers. Look for tickets with [beginner]
in the title. These tickets are good ways to become more familiar with the project and the codebase.
License
This software is licenced under the Lesser General Public License (LGPL) v3.
Refers to the LICENSE.txt
file at the root of the repository for the full text, or to the online version.
Dependencies
~0.5–1MB
~25K SLoC