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 psych rack yaml-parser
Last synced: about 11 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-02-09T23:45:19.000Z (22 days ago)
- Last Synced: 2026-02-23T21:34:36.958Z (8 days ago)
- Topics: lalr-parser-generator, parser-generator
- Language: Yacc
- Homepage: https://ruby.github.io/racc/
- Size: 3.51 MB
- Stars: 554
- Watchers: 51
- Forks: 91
- Open Issues: 12
- 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: 11
- Pull request event: 34
- Fork event: 2
- Issues event: 7
- Watch event: 16
- Issue comment event: 10
- Push event: 22
- Pull request review event: 8
- Pull request review comment event: 4
- Create event: 9
Last Year
- Delete event: 11
- Pull request event: 21
- Fork event: 1
- Issues event: 5
- Watch event: 9
- Issue comment event: 6
- Push event: 15
- Pull request review comment event: 2
- Pull request review event: 5
- Create event: 9
Committers metadata
Last synced: 3 days ago
Total Commits: 815
Total Committers: 50
Avg Commits per committer: 16.3
Development Distribution Score (DDS): 0.583
Commits in past year: 25
Committers in past year: 5
Avg Commits per committer in past year: 5.0
Development Distribution Score (DDS) in past year: 0.36
| 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 |
| Alex Dowad | a****g@g****m | 26 |
| ydah | t****2@g****m | 23 |
| Charles Oliver Nutter | h****s@h****m | 21 |
| dependabot[bot] | 4****] | 18 |
| 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: 20 days ago
Total issues: 39
Total pull requests: 173
Average time to close issues: 9 months
Average time to close pull requests: 25 days
Total issue authors: 30
Total pull request authors: 31
Average comments per issue: 2.51
Average comments per pull request: 0.64
Merged pull request: 157
Bot issues: 0
Bot pull requests: 18
Past year issues: 2
Past year pull requests: 27
Past year average time to close issues: 5 days
Past year average time to close pull requests: about 23 hours
Past year issue authors: 2
Past year pull request authors: 4
Past year average comments per issue: 1.5
Past year average comments per pull request: 0.04
Past year merged pull request: 21
Past year bot issues: 0
Past year bot pull requests: 16
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
- nobu (28)
- ydah (26)
- hsbt (21)
- dependabot[bot] (18)
- yui-knk (18)
- jwillemsen (10)
- flavorjones (8)
- olleolleolle (7)
- marcandre (4)
- koic (4)
- headius (3)
- zenspider (3)
- enebo (2)
- casperisfine (2)
- akimd (2)
Top Issue Labels
Top Pull Request Labels
- dependencies (18)
- github_actions (17)
Package metadata
- Total packages: 21
-
Total downloads:
- rubygems: 1,278,437,515 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 over 1 year ago)
- Last Synced: 2026-03-01T18:33:45.437Z (2 days ago)
- Versions: 43
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 639,231,541 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 1 year ago)
- Last Synced: 2026-03-01T15:32:24.667Z (2 days ago)
- Versions: 43
- Dependent Packages: 151
- Dependent Repositories: 244,046
- Downloads: 639,204,246 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 1 year ago)
- Last Synced: 2026-02-28T11:02:42.874Z (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 11 months ago)
- Last Synced: 2026-03-01T02:31:48.660Z (3 days 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 11 months ago)
- Last Synced: 2026-02-23T07:00:56.215Z (9 days 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 5 months ago)
- Last Synced: 2026-02-28T11:02:41.330Z (4 days ago)
- Versions: 3
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 864 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 5 months ago)
- Last Synced: 2026-02-28T11:02:41.355Z (4 days ago)
- Versions: 3
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 864 Total
-
Rankings:
- Dependent packages count: 14.23%
- Dependent repos count: 43.588%
- Average: 50.147%
- Downloads: 92.623%
- 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 19 days ago)
- Last Synced: 2026-02-13T13:05:35.070Z (18 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.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 about 2 years ago)
- Last Synced: 2026-03-01T01:56:59.904Z (3 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)
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 about 2 years ago)
- Last Synced: 2026-03-01T01:31:18.346Z (3 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)
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 11 months ago)
- Last Synced: 2026-03-01T01:17:31.308Z (3 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:
- Latest release: 1.6.2-1 (published 19 days ago)
- Last Synced: 2026-02-12T23:14:44.548Z (19 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.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 about 2 years ago)
- Last Synced: 2026-03-01T01:52:56.398Z (3 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)
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 about 2 years ago)
- Last Synced: 2026-03-01T01:22:03.651Z (3 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)
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 11 months ago)
- Last Synced: 2026-03-01T01:16:08.375Z (3 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)
alpine-v3.23: ruby-racc-doc
LALR(1) parser generator for Ruby (ri docs)
alpine-v3.23: ruby-racc
LALR(1) parser generator for Ruby
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.14868815131207