# Parser

> A tooling-grade Ruby parser.

- URL: https://evilmartians.com/opensource/parser
- GitHub: https://github.com/whitequark/parser
- Authors: whitequark

---

The Parser gem is a tooling-grade Ruby parser. Parser powers RuboCop, the most popular Ruby code analyzer. Sorbet, a static type checker, also built their parser with C++ based on this gem.

Parser is a production-ready Ruby parser written in pure Ruby. It recognizes as much or more code than Ripper, Melbourne, JRubyParser or ruby\_parser, and is vastly more convenient to use.

You can also use [unparser](https://github.com/mbj/unparser) to produce equivalent source code from Parser's ASTs.
