ruby_parser

rubygemsv3.22.0

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,

License MITpermissive20 versions2 deps625,221 weekly dl
seattlerb/ruby_parser
65
/ 100
Health
safe to use

[email protected] is safe to use (health: 65/100)

Health breakdown0 – 100
15/25
maintenance
14/20
popularity
25/25
security
9/15
maturity
2/15
community
Vulnerabilities
0
none known

Health History

Dependency Tree

License Audit

Dependencies (2)
API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/rubygems/ruby_parser

Last updated · 2025-12-21T01:59:59.654Z

ruby_parser — Health Score 65/100 | DepScope | DepScope