https://github.com/seattlerb/ruby_parser
Last synced: about 1 month ago
Repository metadata:
ruby_parser is a ruby parser written in pure ruby. It outputs s-expressions which can be manipulated and converted back to ruby via the ruby2ruby gem.
- Host: GitHub
- URL: https://github.com/seattlerb/ruby_parser
- Owner: seattlerb
- Created: 2009-02-18T07:43:03.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2024-07-09T18:02:06.000Z (5 months ago)
- Last Synced: 2024-10-29T12:57:37.121Z (about 2 months ago)
- Language: Ruby
- Homepage: http://www.zenspider.com/projects/ruby_parser.html
- Size: 2.44 MB
- Stars: 476
- Watchers: 19
- Forks: 100
- Open Issues: 2
-
Metadata Files:
- Readme: README.rdoc
- Changelog: History.rdoc
Owner metadata:
- Name: Seattle Ruby Brigade
- Login: seattlerb
- Email:
- Kind: organization
- Description:
- Website: https://seattlerb.org/
- Location: We will light you on fire.
- Twitter: seattlerb
- Company:
- Icon url: https://avatars.githubusercontent.com/u/55277?v=4
- Repositories: 129
- Last Synced at: 2023-04-09T04:55:29.516Z
- Profile URL: https://github.com/seattlerb
- Sponsor URL:
Committers metadata
Last synced: about 1 month ago
Total Commits: 854
Total Committers: 3
Avg Commits per committer: 284.667
Development Distribution Score (DDS): 0.197
Commits in past year: 9
Committers in past year: 1
Avg Commits per committer in past year: 9.0
Development Distribution Score (DDS) in past year: 0.0
Name | Commits | |
---|---|---|
Ryan Davis | r****d@z****m | 686 |
Ryan Davis | r****y@z****m | 166 |
evan | e****n@f****t | 2 |
Issue and Pull Request metadata
Last synced: about 1 month ago
Package metadata
- Total packages: 2
-
Total downloads:
- rubygems: 120,378,175 total
- Total docker downloads: 450,495,044
- Total dependent packages: 186 (may contain duplicates)
- Total dependent repositories: 33,689 (may contain duplicates)
- Total versions: 145
- Total maintainers: 1
- Total advisories: 1
rubygems: ruby_parser
ruby_parser (RP) is a ruby parser written in pure ruby (utilizing racc--which does by default use a C extension). It outputs s-expressions which can be manipulated and converted back to ruby via the ruby2ruby gem. As an example: def conditional1 arg1 return 1 if arg1 == 0 return 0 end becomes: s(:defn, :conditional1, s(:args, :arg1), s(:if, s(:call, s(:lvar, :arg1), :==, s(:lit, 0)), s(:return, s(:lit, 1)), nil), s(:return, s(:lit, 0))) Tested against 801,039 files from the latest of all rubygems (as of 2013-05): * 1.8 parser is at 99.9739% accuracy, 3.651 sigma * 1.9 parser is at 99.9940% accuracy, 4.013 sigma * 2.0 parser is at 99.9939% accuracy, 4.008 sigma * 2.6 parser is at 99.9972% accuracy, 4.191 sigma * 3.0 parser has a 100% parse rate. * Tested against 2,672,412 unique ruby files across 167k gems. * As do all the others now, basically.
- Homepage: https://github.com/seattlerb/ruby_parser
- Documentation: http://www.rubydoc.info/gems/ruby_parser/
- Licenses: MIT
- Latest release: 3.21.0 (published 11 months ago)
- Last Synced: 2024-11-10T21:07:13.371Z (about 1 month ago)
- Versions: 79
- Dependent Packages: 186
- Dependent Repositories: 33,689
- Downloads: 120,378,175 Total
- Docker Downloads: 450,495,044
-
Rankings:
- Downloads: 0.163%
- Dependent repos count: 0.181%
- Dependent packages count: 0.195%
- Docker downloads count: 0.318%
- Average: 1.01%
- Stargazers count: 2.594%
- Forks count: 2.612%
- Maintainers (1)
- Advisories:
go: github.com/seattlerb/ruby_parser
- Homepage:
- Documentation: https://pkg.go.dev/github.com/seattlerb/ruby_parser#section-documentation
- Licenses:
- Latest release: v3.21.0+incompatible (published 11 months ago)
- Last Synced: 2024-11-10T21:07:13.221Z (about 1 month ago)
- Versions: 66
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Forks count: 2.567%
- Stargazers count: 2.701%
- Average: 6.411%
- Dependent packages count: 9.576%
- Dependent repos count: 10.802%