# Parser

> Production-ready Ruby parser written in pure Ruby

Source: https://talira.ai/catalog/parser-9k7e7cag
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / parsing / source code](https://talira.ai/categories/developer-tools/parsing/source-code), [languages / ruby](https://talira.ai/categories/languages/ruby)
- Licence: MIT[^2][^3]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [whitequark](https://talira.ai/orgs/whitequark.md)

Parser is a Ruby parser written in pure Ruby that produces ASTs for Ruby source, recognising as much code as Ripper, ruby_parser and similar parsers or more, and easier to use; unparser turns its ASTs back into equivalent source. It only understands Ruby 3.3 syntax and earlier: for Ruby 3.4 and later its maintainers point to Prism's `Prism::Translation::Parser`, which produces the same AST.

## Links

- GitHub: https://github.com/whitequark/parser

## Problems it solves

- parse Ruby source code into an AST from Ruby
- build a Ruby code analysis or refactoring tool
- get an AST for Ruby 3.3 or older code in Ruby

## Features

- pure-Ruby parser producing ASTs
- covers Ruby syntax up to 3.3
- works with unparser to regenerate source

## Limitations

- Only supports Ruby 3.3 syntax and earlier; for Ruby 3.4 and later use Prism::Translation::Parser.[^1]

## Trust

Overall: 0.51 out of 1.
Signals: maintenance 0.66, adoption 0.64, momentum 0.31, community 0.77, backing 0.30, extensibility 0.00.

- last commit 11 days ago
- 9 commits in the last 90 days
- 1.6k GitHub stars
- 83 contributors
- backed by whitequark

## Sources

[^1]: https://github.com/whitequark/parser/blob/master/README.md (checked 29 Nov 2026)
[^2]: https://github.com/whitequark/parser/blob/master/LICENSE.txt (checked 29 Nov 2026)
[^3]: https://github.com/whitequark/parser/blob/master/parser.gemspec (checked 29 Nov 2026)
