lalrpop

(โ˜… 3,500)

LR(1) parser generator for Rust

  • .clog.toml
  • .gitattributes
  • .gitignore
  • .mdl_style.rb
  • .mdlrc
  • Cargo.lock
  • Cargo.toml
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • LICENSE-APACHE
  • LICENSE-MIT
  • README.md
  • RELEASES.md
  • update_lrgrammar.sh
  • version.sh

๐Ÿš€ Installation Guide

1. Get the code
git clone https://github.com/lalrpop/lalrpop

Downloads the entire project code from GitHub to your computer.

cd lalrpop

Moves into the project folder you just downloaded.

2. Rust

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Rust (rustup) Installing via rustup also installs cargo.
cargo build --release

Compiles the Rust project.

cargo run

Builds and then immediately runs the program.

โœ… If cargo build finishes without errors, it worked. The executable is created under target/.
// repository documentation