Skip to content

timsueberkrueb/yalr

Repository files navigation

YALR

YALR (Yet Another LR parser generator) is a Rust library for generating LALR(1) parsers.

IMPORTANT: YALR is early work in progress and currently in an early prototypical state. Here be dragons.

Features

  • Straightforward syntax - no custom grammar files, only Rust code and macros
  • Tooling included - Parser introspection tooling included (LALR parse table, LALR state diagram)
  • Lexer-independent - Works with any lexer that implements the Lexer trait

Build

Rust >= 1.31.0 is required to build YALR.

Usage

Examples can be found in the examples directory.

License

YALR is licensed under either of the following licenses, at your option:

About

Yet Another LR parser generator

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages