lrama

(โ˜… 317)

Pure Ruby LALR parser generator

  • .codespellignore
  • .gitattributes
  • .gitignore
  • .rdoc_options
  • .rspec
  • Gemfile
  • LEGAL.md
  • lrama.gemspec
  • MIT
  • NEWS.md
  • parser.y
  • Rakefile
  • rbs_collection.lock.yaml
  • rbs_collection.yaml
  • README.md
  • Steepfile

# Installation Guide

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

Downloads the entire project code from GitHub to your computer.

cd lrama

Moves into the project folder you just downloaded.

2. Ruby

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Ruby Ruby is required to use the bundle command.
$ bundle install

Installs the Ruby libraries listed in the Gemfile.

$ bundle exec rake install

Type this command into your terminal and run it.

$ bundle exec lrama --version

Type this command into your terminal and run it.

$ bundle exec rake build:parser

Type this command into your terminal and run it.

$ bundle exec rspec

Type this command into your terminal and run it.

โœ… If bundle install finishes without errors, continue with the run command from the README (e.g. rails server).

Pulled directly from this repo's README.

// repository documentation