Ecosyste.ms: Funds

An open API service for providing issue and pull request metadata for open source projects.

https://github.com/seattlerb/ruby_parser

Last synced: 40 minutes 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.


Owner metadata:


Committers metadata

Last synced: 8 days 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 Email 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: 40 minutes ago


Package metadata

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.

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 9 months ago)
  • Last Synced: 2024-10-06T03:36:21.498Z (1 day 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%