[READ-ONLY] Mirror of https://github.com/Tamschi/loess. Trying something...
Rust 88%
12%

README.md

loess #

Lib.rs Crates.io Docs.rs

Rust 1.56 CI Crates.io - License

GitHub open issues open pull requests good first issues

crev reviews Zulip Chat

A group-lazy defaulting speculative Rust parser.

The crate structure mirrors roughtly The Rust Reference's.

Installation #

Please use cargo-edit to always add the latest version of this library:

cargo add loess

Example #

// TODO_EXAMPLE

See Also #

  • matklad - Resilient LL Parsing Tutorial

    A friend pointed this out, and it's likely a better explanation of resilient parsing than what you'd get from looking through my code.

    I'm just winging this crate, but in terms of this article, I'm going with the "errors are side-effects of the parsing process" approach here to save myself a bunch of typing without macros.

License #

Licensed under either of

at your option.

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 dual licensed as above, without any additional terms or conditions.

See CONTRIBUTING for more information.

Code of Conduct #

Changelog #

Versioning #

loess strictly follows Semantic Versioning 2.0.0 with the following exceptions:

  • The minor version will not reset to 0 on major version changes (except for v1).
    Consider it the global feature level.
  • The patch version will not reset to 0 on major or minor version changes (except for v0.1 and v1).
    Consider it the global patch level.

This includes the Rust version requirement specified above.
Earlier Rust versions may be compatible, but this can change with minor or patch releases.

Which versions are affected by features and patches can be determined from the respective headings in CHANGELOG.md.

Note that dependencies of this crate may have a more lenient MSRV policy! Please use cargo +nightly update -Z minimal-versions in your automation if you don't generate Cargo.lock manually (or as necessary) and require support for a compiler older than current stable.