https://github.com/ruby/racc
Racc is an LALR(1) parser generator. It is written in Ruby itself, and generates ruby programs.
https://github.com/ruby/racc
Keywords
lalr-parser-generator parser-generator
Keywords from Contributors
rubygems activerecord mvc documentation-tool activejob json-parser repl rack libyaml psych
Last synced: about 2 hours ago
JSON representation
Repository metadata
Racc is an LALR(1) parser generator. It is written in Ruby itself, and generates ruby programs.
- Host: GitHub
- URL: https://github.com/ruby/racc
- Owner: ruby
- License: other
- Created: 2008-11-10T21:24:07.000Z (about 18 years ago)
- Default Branch: master
- Last Pushed: 2026-11-09T15:42:26.000Z (8 days ago)
- Last Synced: 2026-11-14T17:53:21.109Z (3 days ago)
- Topics: lalr-parser-generator, parser-generator
- Language: Yacc
- Homepage: https://ruby.github.io/racc/
- Size: 3.53 MB
- Stars: 569
- Watchers: 49
- Forks: 95
- Open Issues: 13
- Releases: 24
-
Metadata Files:
- Readme: README.rdoc
- Changelog: ChangeLog
- License: COPYING
README.rdoc
= Racc
* https://github.com/ruby/racc
== DESCRIPTION:
Racc is an LALR(1) parser generator.
It is written in Ruby itself, and generates Ruby program.
== Requirement
* Ruby 2.5 or later.
== Installation
gem install:
$ gem install racc
== Testing Racc
Racc comes with simple calculator. To compile this, on shell:
$ racc -o calc calc.y
This process costs few seconds (or less). Then type:
$ ruby calc
... Does it work?
For details of Racc, see HTML documents placed under 'doc/en/'
and sample grammar files under 'sample/'.
== Release flow
* Update VERSION number of these files
* RACC_VERSION in "ext/racc/com/headius/racc/Cparse.java"
* VERSION in "lib/racc/info.rb"
* Release as a gem by rake release with CRuby and JRuby because Racc gem provides 2 packages
* Create new release on {GitHub}[https://github.com/ruby/racc/releases]
== License
Racc is distributed under the same terms of ruby.
(see the file COPYING). Note that you do NOT need to follow
ruby license for your own parser (racc outputs).
You can distribute those files under any licenses you want.
== Bug Reports
Any kind of bug report is welcome.
If you find a bug of Racc, please report an issue at
https://github.com/ruby/racc/issues. Your grammar file,
debug output generated by "racc -t", are helpful.
Minero Aoki
aamine@loveruby.net
http://i.loveruby.net
Owner metadata
- Name: The Ruby Programming Language
- Login: ruby
- Email: info@ruby-lang.org
- Kind: organization
- Description: Repositories related to the Ruby Programming language.
- Website: https://www.ruby-lang.org/
- Location: Japan
- Twitter: rubylangorg
- Company:
- Icon url: https://avatars.githubusercontent.com/u/210414?v=4
- Repositories: 191
- Last ynced at: 2026-11-13T16:38:25.410Z
- Profile URL: https://github.com/ruby
GitHub Events
Total
- Create event: 16
- Delete event: 19
- Fork event: 2
- Issue comment event: 10
- Issues event: 7
- Pull request event: 42
- Pull request review comment event: 5
- Pull request review event: 9
- Push event: 32
- Watch event: 16
Last Year
- Create event: 11
- Delete event: 13
- Issue comment event: 2
- Issues event: 1
- Pull request event: 12
- Pull request review comment event: 1
- Pull request review event: 1
- Push event: 14
- Watch event: 1
Committers metadata
Last synced: about 19 hours ago
Total Commits: 843
Total Committers: 51
Avg Commits per committer: 16.529
Development Distribution Score (DDS): 0.597
Commits in past year: 36
Committers in past year: 3
Avg Commits per committer in past year: 12.0
Development Distribution Score (DDS) in past year: 0.083
| Name | Commits | |
|---|---|---|
| aamine | a****e@1****8 | 340 |
| Hiroshi SHIBATA | h****t@r****g | 124 |
| Nobuyoshi Nakada | n****u@r****g | 70 |
| Aaron Patterson | a****n@g****m | 68 |
| dependabot[bot] | 4****] | 43 |
| Alex Dowad | a****g@g****m | 26 |
| ydah | t****2@g****m | 25 |
| Charles Oliver Nutter | h****s@h****m | 21 |
| yui-knk | s****a@g****m | 16 |
| Ryan Davis | r****y@z****m | 12 |
| Mike Dalessio | m****o@g****m | 9 |
| Johnny Willemsen | j****n@r****l | 8 |
| Eric Hodel | d****n@s****t | 7 |
| Olle Jonsson | o****n@g****m | 7 |
| Zachary Scott | z****y@z****t | 6 |
| Benoit Daloze | e****p@g****m | 5 |
| Marc-Andre Lafortune | g****b@m****a | 5 |
| NARUSE, Yui | n****e@a****p | 5 |
| zzak | z****k@b****e | 4 |
| knu | k****u@1****8 | 3 |
| Yusuke Endoh | m****e@r****g | 3 |
| Akim Demaille | a****e@g****m | 2 |
| Jean Boussier | j****r@g****m | 2 |
| Jeremy Evans | c****e@j****t | 2 |
| Koichi ITO | k****o@g****m | 2 |
| Thomas E. Enebo | t****o@g****m | 2 |
| hkdnet | s****e@g****m | 2 |
| 卜部昌平 | s****i@r****g | 1 |
| stomar | s****r@b****e | 1 |
| pavel | p****y@e****z | 1 |
| and 21 more... | ||
Committer domains:
- ruby-lang.org: 4
- headius.com: 1
- zenspider.com: 1
- remedy.nl: 1
- segment7.net: 1
- zacharyscott.net: 1
- marc-andre.ca: 1
- airemix.jp: 1
- jeremyevans.net: 1
- easy.cz: 1
- oracle.com: 1
- clear-code.com: 1
- pocke.me: 1
- atg.auto: 1
- intergga.ch: 1
- atdot.net: 1
- mbf.nifty.com: 1
- riseup.net: 1
- brunoarueira.com: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 38
Total pull requests: 179
Average time to close issues: 9 months
Average time to close pull requests: 23 days
Total issue authors: 29
Total pull request authors: 33
Average comments per issue: 2.58
Average comments per pull request: 0.61
Merged pull request: 161
Bot issues: 0
Bot pull requests: 44
Past year issues: 0
Past year pull requests: 41
Past year average time to close issues: N/A
Past year average time to close pull requests: 5 days
Past year issue authors: 0
Past year pull request authors: 4
Past year average comments per issue: 0
Past year average comments per pull request: 0.17
Past year merged pull request: 35
Past year bot issues: 0
Past year bot pull requests: 36
Top Issue Authors
- headius (4)
- jwillemsen (4)
- marcandre (2)
- flavorjones (2)
- tkowalewski (2)
- caionakai (1)
- peter-dye (1)
- mingodad (1)
- EvgeniyRRU (1)
- jsvd (1)
- zimmski (1)
- tnir (1)
- dimitrisdovinos (1)
- slonopotamus (1)
- JochenLutz (1)
Top Pull Request Authors
- dependabot[bot] (44)
- nobu (23)
- hsbt (19)
- ydah (18)
- yui-knk (15)
- jwillemsen (10)
- flavorjones (8)
- olleolleolle (7)
- marcandre (4)
- headius (3)
- akimd (2)
- casperisfine (2)
- koic (2)
- zenspider (2)
- enebo (2)
Top Issue Labels
Top Pull Request Labels
- dependencies (44)
- github_actions (43)
Package metadata
- Total packages: 22
-
Total downloads:
- rubygems: 1,537,305,282 total
- Total docker downloads: 7,521,782,166
- Total dependent packages: 151 (may contain duplicates)
- Total dependent repositories: 244,046 (may contain duplicates)
- Total versions: 133
- Total maintainers: 8
gem.coop: racc
Racc is an LALR(1) parser generator. It is written in Ruby itself, and generates Ruby program. NOTE: Ruby 1.8.x comes with Racc runtime module. You can run your parsers generated by racc 1.4.x out of the box.
- Homepage: https://github.com/ruby/racc
- Documentation: http://www.rubydoc.info/gems/racc/
- Licenses: Ruby,BSD-2-Clause
- Latest release: 1.8.1 (published over 2 years ago)
- Last Synced: 2026-11-17T16:30:59.908Z (about 4 hours ago)
- Versions: 43
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 768,651,134 Total
- Docker Downloads: 3,760,891,083
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.012%
- Docker downloads count: 0.014%
- Downloads: 0.035%
- Maintainers (6)
rubygems.org: racc
Racc is an LALR(1) parser generator. It is written in Ruby itself, and generates Ruby program. NOTE: Ruby 1.8.x comes with Racc runtime module. You can run your parsers generated by racc 1.4.x out of the box.
- Homepage: https://github.com/ruby/racc
- Documentation: http://www.rubydoc.info/gems/racc/
- Licenses: Ruby,BSD-2-Clause
- Latest release: 1.8.1 (published over 2 years ago)
- Last Synced: 2026-11-17T16:31:02.689Z (about 4 hours ago)
- Versions: 43
- Dependent Packages: 151
- Dependent Repositories: 244,046
- Downloads: 768,651,134 Total
- Docker Downloads: 3,760,891,083
-
Rankings:
- Docker downloads count: 0.017%
- Downloads: 0.059%
- Dependent repos count: 0.091%
- Dependent packages count: 0.248%
- Average: 0.94%
- Stargazers count: 2.467%
- Forks count: 2.76%
- Maintainers (6)
proxy.golang.org: github.com/ruby/racc
- Homepage:
- Documentation: https://pkg.go.dev/github.com/ruby/racc#section-documentation
- Licenses: other
- Latest release: v1.8.1 (published over 2 years ago)
- Last Synced: 2026-11-16T18:02:09.526Z (1 day ago)
- Versions: 22
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 2.634%
- Forks count: 2.722%
- Average: 6.433%
- Dependent packages count: 9.576%
- Dependent repos count: 10.802%
alpine-edge: ruby-racc
LALR(1) parser generator for Ruby
- Homepage: https://github.com/ruby/racc
- Licenses: BSD-2-Clause AND Ruby
- Latest release: 1.8.1-r0 (published over 1 year ago)
- Last Synced: 2026-03-23T07:07:01.479Z (8 months ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Average: 7.965%
- Dependent packages count: 15.931%
- Maintainers (1)
alpine-edge: ruby-racc-doc
LALR(1) parser generator for Ruby (ri docs)
- Homepage: https://github.com/ruby/racc
- Licenses: BSD-2-Clause AND Ruby
- Latest release: 1.8.1-r0 (published over 1 year ago)
- Last Synced: 2026-08-05T16:05:30.114Z (3 months ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Average: 7.965%
- Dependent packages count: 15.931%
- Maintainers (1)
gem.coop: ed-precompiled_racc
Racc is an LALR(1) parser generator. It is written in Ruby itself, and generates Ruby program. NOTE: Ruby 1.8.x comes with Racc runtime module. You can run your parsers generated by racc 1.4.x out of the box.
- Homepage: https://github.com/ruby/racc
- Documentation: http://www.rubydoc.info/gems/ed-precompiled_racc/
- Licenses: Ruby,BSD-2-Clause
- Latest release: 1.8.1 (published about 1 year ago)
- Last Synced: 2026-11-16T18:01:57.907Z (1 day ago)
- Versions: 3
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 1,507 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 33.331%
- Downloads: 99.993%
- Maintainers (1)
rubygems.org: ed-precompiled_racc
Racc is an LALR(1) parser generator. It is written in Ruby itself, and generates Ruby program. NOTE: Ruby 1.8.x comes with Racc runtime module. You can run your parsers generated by racc 1.4.x out of the box.
- Homepage: https://github.com/ruby/racc
- Documentation: http://www.rubydoc.info/gems/ed-precompiled_racc/
- Licenses: Ruby,BSD-2-Clause
- Latest release: 1.8.1 (published about 1 year ago)
- Last Synced: 2026-11-16T18:01:56.481Z (1 day ago)
- Versions: 3
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 1,507 Total
-
Rankings:
- Dependent packages count: 14.23%
- Dependent repos count: 43.588%
- Average: 50.147%
- Downloads: 92.623%
- Maintainers (1)
alpine-v3.20: ruby-racc
LALR(1) parser generator for Ruby
- Homepage: https://github.com/ruby/racc
- Licenses: BSD-2-Clause AND Ruby
- Latest release: 1.7.3-r0 (published almost 3 years ago)
- Last Synced: 2026-09-15T14:26:43.525Z (2 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
alpine-v3.22: ruby-racc-doc
LALR(1) parser generator for Ruby (ri docs)
- Homepage: https://github.com/ruby/racc
- Licenses: BSD-2-Clause AND Ruby
- Latest release: 1.8.1-r0 (published over 1 year ago)
- Last Synced: 2026-09-11T09:27:52.244Z (2 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
alpine-v3.22: ruby-racc
LALR(1) parser generator for Ruby
- Homepage: https://github.com/ruby/racc
- Licenses: BSD-2-Clause AND Ruby
- Latest release: 1.8.1-r0 (published over 1 year ago)
- Last Synced: 2026-11-09T11:26:57.451Z (8 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
debian-13: racc
- Homepage: https://github.com/ruby/racc
- Documentation: https://packages.debian.org/trixie/racc
- Licenses: other
- Latest release: 1.8.1-1 (published 9 months ago)
- Last Synced: 2026-11-09T11:28:17.504Z (8 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
alpine-v3.21: ruby-racc-doc
LALR(1) parser generator for Ruby (ri docs)
- Homepage: https://github.com/ruby/racc
- Licenses: BSD-2-Clause AND Ruby
- Latest release: 1.7.3-r0 (published almost 3 years ago)
- Last Synced: 2026-11-09T11:27:17.052Z (8 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
debian-12: racc
- Homepage: https://github.com/ruby/racc
- Documentation: https://packages.debian.org/bookworm/racc
- Licenses: other
- Latest release: 1.6.2-1 (published 9 months ago)
- Last Synced: 2026-11-09T11:28:05.469Z (8 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
gentoo-portage: dev-ruby/racc
A LALR(1) parser generator for Ruby
- Homepage: https://github.com/ruby/racc
- Documentation: https://packages.gentoo.org/packages/dev-ruby/racc
- Licenses: LGPL-2.1
- Latest release: 1.8.1 (published 7 months ago)
- Last Synced: 2026-05-27T02:49:01.958Z (6 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
alpine-v3.23: ruby-racc-doc
LALR(1) parser generator for Ruby (ri docs)
- Homepage: https://github.com/ruby/racc
- Licenses: BSD-2-Clause AND Ruby
- Latest release: 1.8.1-r0 (published over 1 year ago)
- Last Synced: 2026-04-07T21:02:38.401Z (7 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
alpine-v3.21: ruby-racc
LALR(1) parser generator for Ruby
- Homepage: https://github.com/ruby/racc
- Licenses: BSD-2-Clause AND Ruby
- Latest release: 1.7.3-r0 (published almost 3 years ago)
- Last Synced: 2026-11-09T11:27:02.393Z (8 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
ubuntu-24.10: racc
- Homepage: https://github.com/ruby/racc
- Licenses: other
- Latest release: 1.6.2-1ubuntu1 (published 9 months ago)
- Last Synced: 2026-11-09T11:28:19.441Z (8 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
alpine-v3.23: ruby-racc
LALR(1) parser generator for Ruby
- Homepage: https://github.com/ruby/racc
- Licenses: BSD-2-Clause AND Ruby
- Latest release: 1.8.1-r0 (published over 1 year ago)
- Last Synced: 2026-07-24T20:37:52.080Z (4 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
ubuntu-23.04: racc
- Homepage: https://github.com/ruby/racc
- Licenses: other
- Latest release: 1.6.2-1 (published 9 months ago)
- Last Synced: 2026-10-07T22:34:05.543Z (about 1 month ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
alpine-v3.20: ruby-racc-doc
LALR(1) parser generator for Ruby (ri docs)
- Homepage: https://github.com/ruby/racc
- Licenses: BSD-2-Clause AND Ruby
- Latest release: 1.7.3-r0 (published almost 3 years ago)
- Last Synced: 2026-11-09T11:26:58.778Z (8 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
Dependencies
- bundler >= 0 development
- rake >= 0 development
- rake-compiler >= 0 development
- test-unit >= 0 development
- actions/checkout 0c366fd6a839edf440554fa01a7085ccba70ac98 composite
- ruby/setup-ruby d5126b9b3579e429dd52e51e68624dda2e05be25 composite
- rubygems/release-gem 1c162a739e8b4cb21a676e97b087e8268d8fc40b composite
- step-security/harden-runner e3f713f2d8f53843e71c69a996d56f51aa9adfb9 composite
- actions/checkout v6.0.2 composite
- actions/configure-pages v5 composite
- actions/deploy-pages v4 composite
- actions/upload-pages-artifact v4 composite
- ruby/setup-ruby d5126b9b3579e429dd52e51e68624dda2e05be25 composite
- actions/checkout v4 composite
- ruby/setup-ruby v1 composite
Score: 33.22535803931815