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 documentation-tool mvc activejob repl json-parser libyaml rack psych
Last synced: about 15 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 (over 17 years ago)
- Default Branch: master
- Last Pushed: 2026-05-13T05:45:16.000Z (12 days ago)
- Last Synced: 2026-05-17T01:06:51.105Z (8 days ago)
- Topics: lalr-parser-generator, parser-generator
- Language: Yacc
- Homepage: https://ruby.github.io/racc/
- Size: 3.5 MB
- Stars: 555
- Watchers: 50
- Forks: 90
- Open Issues: 11
- Releases: 24
-
Metadata Files:
- Readme: README.ja.rdoc
- Changelog: ChangeLog
- License: COPYING
README.ja.rdoc
= Racc
* https://github.com/ruby/racc
== DESCRIPTION:
Racc は LALR(1) パーサジェネレータです。
yacc の Ruby 版に相当します。
== 必要環境
* Ruby 2.5 以降
== インストール
gem インストール:
$ gem install racc
== テスト
sample/ 以下にいくつか Racc の文法ファイルのサンプルが用意
してあります。動くのも動かないのもありますが、少なくとも
calc-ja.y は動くのでこれを処理してみましょう。Racc をインス
トールしたあと
$ racc -ocalc.rb calc-ja.y
として下さい。処理は一瞬から数秒で終わるので、
$ ruby calc.rb
を実行してください。ちゃんと動いてますか?
Racc の文法など詳しいことは doc.ja/ ディレクトリ以下の HTML を
見てください。
== ライセンス
このパッケージに付属するファイルの著作権は青木峰郎が保持します。
ライセンスは Ruby ライセンスです。ただしユーザが書いた規則
ファイルや、Racc がそこから生成した Ruby スクリプトはその対象
外です。好きなライセンスで配布してください。
== バグなど
Racc を使っていてバグらしき現象に遭遇したら、下記のアドレスまで
メールをください。作者にはバグを修正する義務はありませんがその
意思はあります。また、そのときはできるだけバグを再現できる文法
ファイルを付けてください。
青木峰郎(あおきみねろう)
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: Matsue, Japan
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/210414?v=4
- Repositories: 171
- Last ynced at: 2023-04-09T03:40:20.875Z
- Profile URL: https://github.com/ruby
GitHub Events
Total
- Delete event: 15
- Pull request event: 40
- Fork event: 2
- Issues event: 7
- Watch event: 16
- Issue comment event: 10
- Push event: 29
- Pull request review event: 9
- Pull request review comment event: 5
- Create event: 15
Last Year
- Delete event: 15
- Pull request event: 25
- Issues event: 3
- Watch event: 7
- Issue comment event: 4
- Push event: 21
- Pull request review comment event: 3
- Pull request review event: 5
- Create event: 15
Committers metadata
Last synced: 2 days ago
Total Commits: 829
Total Committers: 50
Avg Commits per committer: 16.58
Development Distribution Score (DDS): 0.59
Commits in past year: 38
Committers in past year: 4
Avg Commits per committer in past year: 9.5
Development Distribution Score (DDS) in past year: 0.263
| 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****] | 30 |
| 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 20 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
- 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: 6 days ago
Total issues: 39
Total pull requests: 188
Average time to close issues: 9 months
Average time to close pull requests: 23 days
Total issue authors: 30
Total pull request authors: 31
Average comments per issue: 2.51
Average comments per pull request: 0.61
Merged pull request: 170
Bot issues: 0
Bot pull requests: 31
Past year issues: 1
Past year pull requests: 42
Past year average time to close issues: 10 days
Past year average time to close pull requests: about 23 hours
Past year issue authors: 1
Past year pull request authors: 4
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.1
Past year merged pull request: 34
Past year bot issues: 0
Past year bot pull requests: 29
Top Issue Authors
- jwillemsen (4)
- headius (4)
- flavorjones (2)
- tkowalewski (2)
- marcandre (2)
- hsbt (1)
- JochenLutz (1)
- slonopotamus (1)
- dimitrisdovinos (1)
- tnir (1)
- ydah (1)
- zimmski (1)
- jsvd (1)
- EvgeniyRRU (1)
- mingodad (1)
Top Pull Request Authors
- dependabot[bot] (31)
- ydah (28)
- nobu (28)
- hsbt (21)
- yui-knk (18)
- jwillemsen (10)
- flavorjones (8)
- olleolleolle (7)
- marcandre (4)
- koic (4)
- zenspider (3)
- headius (3)
- nurse (2)
- enebo (2)
- casperisfine (2)
Top Issue Labels
Top Pull Request Labels
- dependencies (31)
- github_actions (30)
Package metadata
- Total packages: 21
-
Total downloads:
- rubygems: 1,358,473,620 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: 132
- 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 almost 2 years ago)
- Last Synced: 2026-05-22T15:00:27.805Z (2 days ago)
- Versions: 43
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 679,355,940 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 almost 2 years ago)
- Last Synced: 2026-05-22T04:30:46.241Z (3 days ago)
- Versions: 43
- Dependent Packages: 151
- Dependent Repositories: 244,046
- Downloads: 679,115,346 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 almost 2 years ago)
- Last Synced: 2026-05-20T15:37:57.715Z (4 days 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-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 about 1 year ago)
- Last Synced: 2026-04-01T03:07:26.264Z (about 2 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
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 about 1 year ago)
- Last Synced: 2026-03-23T07:07:01.479Z (2 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 7 months ago)
- Last Synced: 2026-05-21T03:01:21.516Z (4 days ago)
- Versions: 3
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 1,167 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 7 months ago)
- Last Synced: 2026-05-20T15:37:56.384Z (4 days ago)
- Versions: 3
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 1,167 Total
-
Rankings:
- Dependent packages count: 14.23%
- Dependent repos count: 43.588%
- Average: 50.147%
- Downloads: 92.623%
- Maintainers (1)
ubuntu-24.10: racc
- Homepage: https://github.com/ruby/racc
- Licenses:
- Latest release: 1.6.2-1ubuntu1 (published 3 months ago)
- Last Synced: 2026-03-09T16:05:37.348Z (3 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 about 1 year ago)
- Last Synced: 2026-04-07T21:02:38.401Z (about 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 about 1 year ago)
- Last Synced: 2026-04-01T01:53:05.432Z (about 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.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 over 2 years ago)
- Last Synced: 2026-04-01T01:46:36.604Z (about 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.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 over 2 years ago)
- Last Synced: 2026-04-01T01:49:58.532Z (about 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)
debian-12: racc
- Homepage: https://github.com/ruby/racc
- Documentation: https://packages.debian.org/bookworm/racc
- Licenses:
- Latest release: 1.6.2-1 (published 3 months ago)
- Last Synced: 2026-03-13T22:46:49.058Z (2 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.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 over 2 years ago)
- Last Synced: 2026-04-01T02:07:15.099Z (about 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.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 over 2 years ago)
- Last Synced: 2026-04-01T02:08:16.439Z (about 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.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 about 1 year ago)
- Last Synced: 2026-04-07T21:02:33.546Z (about 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 about 1 year ago)
- Last Synced: 2026-04-01T01:56:58.973Z (about 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)
debian-13: racc
- Homepage: https://github.com/ruby/racc
- Documentation: https://packages.debian.org/trixie/racc
- Licenses:
- Latest release: 1.8.1-1 (published 3 months ago)
- Last Synced: 2026-03-14T17:08:27.449Z (2 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
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.15774157043397